Thank you guys, it work with double dot, it become like this :
frmMyForm = CREATEOBJECT('Form') && Create a Form
frmMyForm.Closable = .t.
For ln = 1 to 3
lcName = "button" + alltrim(str(ln))
frmMyForm.AddObject(lcName,'cmdMyCmndBtn')
frmMyForm.&lcName..Top = 40 * ln...
Thank's for the reply.
Alvechurchdata, I already try your code, but it always said :frmMyForm.&lcName.Top = 40 * ln
Button1Top is not found.
OlafDoschke, I still can not use the commandgroup for what I need.
Maybe someone could give me more help.
Thank you in advance.
Dear all,
I Already create a object form with 2 button with this code :
VIEW.CODE 1
frmMyForm = CREATEOBJECT('Form') && Create a Form
frmMyForm.Closable = .t.
frmMyForm.AddObject('button1','cmdMyCmndBtn') && Add Command button
frmMyForm.button1.top=40
frmMyForm.button1.caption="Button 1"...
Thank you very much for the answer. Actualy I would like to make a menu which have dynamic form. The count of form is define at setup menu.
So if I setup for 5 form, than the pop-up menu will be show from Form 1 to Form 5. If I setup for 3 form, than the pop-up menu will be show from Form 1 to...
Dear all,
I would like to make a menu for VFP 8, usualy I create it form project menager, and create a menu from Menu Designer.
Can I create a menu from prg file and also create a menu from a table to set the item at that menu?
Thank you in advance.
Thank you Hypetia, you gave me an idea.
When I try this code:
Function fac(Char As String) As String
VB give this error :
ByRef argement type mismatch
So, I change the code into :
Function fac(t) As String
and it work.
Thank you very much.
I want to convert from "a" to "1" or from "b" to "2" with function.
I'm new with VB, please give me an Idea about this problem.
Thank you in advance.
a1="a"
a1 = fac(a1)
MsgBox (a1)
'if a1="a" it should be "1"
a2="b"
a2 = fac(a2)
MsgBox (a2)
'if a2="b" it should be "2"
Function...
I user Eudora 6.0.0.22.
If I want to reply a mail, the signature automatic put at the bottom of the message.
What I need at the reply message is like this:
My new message
The signature
The Quote Reply from sender
Thank you in advance.
Thank for reply.
I try to make my problem simple, run that script at php server, the value is :
unix time = 1092634919
normal date = 16-08-2004
normal time = 05:41 AM
Well, at the unix time, how do I make it as 16-08-2004, 00:00 AM?
Thank you in advance.
Dear all,
As we know we could use time() function, but I have some problem with it :
this is my code :
<?
$linux_time=time();
$normal_date=gmdate("d-m-Y",$linux_time);
$normal_time=gmdate("h:i A",$linux_time);
echo "unix time = $linux_time";
echo "<p>normal date = $normal_date";
echo...
Dear all,
I have 3 simple cases, and waiting for help:
1. case :
$a="abcdefg" (string)
How to get it as "efg" and "abc" and "cde"? (string result)
2. case :
$b=1234567 (numeric)
How to get it as 567 and 345 ? (still numeric result)
3. case :
How to generate a random number/string?
Thank...
This is the first table (3 field, 5 record) :
| Name | Type | Value |
--------------------------
a1 L 400
a2 P 100
a3 P 150
a4 L 200
a5 P 300
How to make that first table value become like this (table...
Thank you for your reply.
One of my friend ever told me that he could catch all IP who come to his website even the visitor behind proxy server using PHP, but he don't want to tell me how to do it. That's why I ask for expert here :)
So, I it mean he (my friend) not always could catch all...
Sleipnir214, thank you for your answer.
That's mean if I use non private IP such as 201.*.*.* the proxy will give us report with $_SERVER['HTTP_X_FORWARDED_FOR'] function (of course if the proxy report it)?
Thank's
Dear all,
Using $REMOTE_ADDR will get the remote IP.
If the remote IP using proxy server, than the $REMOTE_ADDR will be show the proxy IP.
Can I see the computer remote IP inside that proxy sever with PHP script?
the case :
computer a [192.168.0.51] -> proxy server [201.32.25.107]
If using...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.