For x=1 TO 4
LOCATE FOR id=x
IF FOUND()
cx=LTRIM(STR(x))
mymacro="thisform.TxtNomCli"+cx+".Value=customers"+cx+".nombre"
&mymacro
mymacro="thisform.TxtIdent"+cx+".Value=customers"+cx+".identidfica"
&mymacro
mymacro="thisform.TxtDirec"+cx+".Value=customers"+cx+".direccion"...
I am migrating an accounting software from FPD to VFP. Almost every window/screen uses List control (@Get).
In an accounting software List box is the only and easiest way to present long data. We also use it to ask selection from huge list of options.
While working with an accounting software...
In my opening example I used <TAB> button to reach list box control which behaved weird. But it doesn’t matter how we reach to that control it'll behave like that.
This weird behaviour of Listbox can be seen when <UpArrow> or <DownArrow> is pressed just before/when the control is being...
You are right, but we can't tell that to operator.
Thanks Mike Lewis for your time. Maybe someone else can help..
One more thing I want to add that same thing also happens in Menu created in VFP.
I have also tried this code in VFP9 SP2 but result is same.
oLstForm=Createobject('FORM1')
oLstForm.list1.AddItem('Ashwani Khurana')
oLstForm.list1.AddItem('Aditya Pasricha')
oLstForm.list1.AddItem('Arjuna Panday')
oLstForm.list1.AddItem('Dalip Kumar')
oLstForm.list1.AddItem('Komaljit Kaur')...
Please check screen recorded video (of 13 seconds) I have uploaded. I have clicked DownArrow ONCE just after Tab but pointer moved to third item instead of second.
https://res.cloudinary.com/engineering-com/video/upload/v1666859417/tips/screen_srz2br.mp4
Hello..
In VFP9, if we press downarrow just when/before creating the list box, the second item is skipped and third item is selected.
SET TALK OFF
clear
DIMENSION myarray(6)
myarray(1)='Ashwani Khurana'
myarray(2)='Aditya Pasricha'
myarray(3)='Arjuna Panday'
myarray(4)='Dalip Kumar'...
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.