Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is this an Bug with VFP9?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01007766
Message ID:
01007847
Views:
13
I tried the same in VFP8. The DisplayValue was 1227357 when I went
back into the form.

>1.- Create an new Form
>2.- Add a Combobox control
>3.- Change DisplayValue to 1
>4.- Save the form
>5.- Open the Form, the DisplayValue value now is 73!!
>6.- At this point there's no way to change the value, only Reseting to Default
>
>
>lcOldSafety = SET("Safety")
>SET SAFETY OFF
>ERASE Combo_test.*
>CREATE FORM Combo_Test NOWAIT
>   oForm = _VFP.ActiveForm
>   oForm.AddObject("Combo1","ComboBox")
>   *** oForm.Combo1.Style = 2
>   oForm.Combo1.DisplayValue = 1
>KEYBOARD '{CTRL+W}'
>MODIFY FORM Combo_Test NOWAIT
>  oForm = _VFP.ActiveForm
>  MESSAGEBOX("The value should be 1 y NOT:"+;
>             STR(oForm.Combo1.DisplayValue))
>SET SAFETY &lcOldSafety
>
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Reply
Map
View

Click here to load this message in the networking platform