Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Display problem and Grid header changes.
Message
From
08/07/2002 03:23:38
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00675810
Message ID:
00676018
Views:
15
Dear David & Marcia

>1. We use combo to select/display code&description. In VFP 7 compiled source the width of second column is increased by few pixels. In some cases it leads to extend the combo drop down out of form also.

Is it possible that the machine you are testing on has got some differences in some of it's Windows display settings? For example it's set to Large Fonts? Or it has had the width of scrollbars increased?

==> We are using same machine for testing/comparing the EXEs of VFP6/VFP7 version. Client/testing machine have no source code. EXE of both version are made by single but different PC. So No chance for window display setting difference. However we are further looking deep into your suggestion.

>2. In Grids we have to use '&' character in header text, in VFP 7 it changes to '_' underscore like hotkey although no behaviour as hotkey. For e.g. 'C&C' changes to 'CC' where second C has underscore display like hotkey. In Multilanguage it may change the whole meaning.

You have to convert all instances of & to && to prevent Windows from seeing the & as a hotkey marker. And since && is the start of an end of line comment you'll have to convert them with code like

.Caption = strtran( .Caption, '&', '&' + '&' )

==> Thankyou very much for your suggestion but as i have written earlier that we have to maintain consistancy & compatiblity between VFP 7/6 i.e. same source code is applicable to VFP 7/VFP 6. Further if i go for following code

IF _VFP.Version = 7.0 etc..
.Caption = strtran( .Caption, '&', '&' + '&' )
Else
...

In different language operating system (say chinease) _VFP.version may not return 7.0 But (#@#@$).

Please suggest

Sanjay Shukla
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform