Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by paispatin

  1. paispatin

    How to Create Buttons from Class ?

    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...
  2. paispatin

    How to Create Buttons from Class ?

    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.
  3. paispatin

    How to Create Buttons from Class ?

    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"...
  4. paispatin

    How to set Menu item by code / table?

    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...
  5. paispatin

    How to set Menu item by code / table?

    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.
  6. paispatin

    Function Question

    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.
  7. paispatin

    How make quote reply below signature?

    Well, anyway... I still love Eudora :) Thank you for reply.
  8. paispatin

    Function Question

    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...
  9. paispatin

    How make quote reply below signature?

    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.
  10. paispatin

    Help for PHP time() function

    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.
  11. paispatin

    Help for PHP time() function

    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...
  12. paispatin

    Help for simple case

    Yes clflava, that's what I need. Thank you very much.
  13. paispatin

    Help for simple case

    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...
  14. paispatin

    How to separate table value?

    Baltman, after I try your code, it work like what I need. Other solusion welcome. Thank you very much.
  15. paispatin

    How to separate table value?

    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...

Part and Inventory Search

Back
Top