dbTalk Databases Forums  

VFP8 and Combo boxes, strange behavior on drop-down

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss VFP8 and Combo boxes, strange behavior on drop-down in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Rich R.
 
Posts: n/a

Default VFP8 and Combo boxes, strange behavior on drop-down - 10-07-2003 , 07:16 AM






We are running VFP6. One of our users has recently been experimenting
with VFP8. We noticed a strange situation. We have a combo box on a
page which displays company name (60ch), address (30ch), city (25ch),
state (2ch). When running it in VFP6, it runs fine when the users
clicks the drop down box, all columns are displayed and sized to fit
in the 800 x 600 screen.

However, we had our user run it with VFP8. When the user clicks the
drop down box, the company name is cut off on the left side of the
screen, and you only see the rightmost 30 characters of the 60
character field. VFP6 would adjust the combo box to fit in the
screen, whereas VFP8 looks like it's trying to display the entire 60
characters, thus extending the company name "outside" the viewable
screen area.

I had the user build new combo boxes with the VFP8 builder,
experimenting with the "Adjust the width of the combo box to display
all columns". This makes the combo box width about 1115 (One big
white line ! Way to big)!! If they change the width property to say,
50, when the combo box is clicked I only get the 2 right most columns:
city, state, and the company and address are off the viewing area.

If anyone would like to look at screen shots of this strange behavior,
send me an email.

Thanks for the help.

Reply With Quote
  #2  
Old   
Rick Bean
 
Posts: n/a

Default Re: VFP8 and Combo boxes, strange behavior on drop-down - 10-07-2003 , 08:13 AM






Rich,
Are you doing this on the same system, using the same OS and the same fonts? Any of these can effect the visual characteristics as well as the Theme support in VFP 8.0 under XP.

Rick

"Rich R." <rich (AT) bittar (DOT) org> wrote

Quote:
We are running VFP6. One of our users has recently been experimenting
with VFP8. We noticed a strange situation. We have a combo box on a
page which displays company name (60ch), address (30ch), city (25ch),
state (2ch). When running it in VFP6, it runs fine when the users
clicks the drop down box, all columns are displayed and sized to fit
in the 800 x 600 screen.

However, we had our user run it with VFP8. When the user clicks the
drop down box, the company name is cut off on the left side of the
screen, and you only see the rightmost 30 characters of the 60
character field. VFP6 would adjust the combo box to fit in the
screen, whereas VFP8 looks like it's trying to display the entire 60
characters, thus extending the company name "outside" the viewable
screen area.

I had the user build new combo boxes with the VFP8 builder,
experimenting with the "Adjust the width of the combo box to display
all columns". This makes the combo box width about 1115 (One big
white line ! Way to big)!! If they change the width property to say,
50, when the combo box is clicked I only get the 2 right most columns:
city, state, and the company and address are off the viewing area.

If anyone would like to look at screen shots of this strange behavior,
send me an email.

Thanks for the help.

Reply With Quote
  #3  
Old   
Rich R.
 
Posts: n/a

Default Re: VFP8 and Combo boxes, strange behavior on drop-down - 10-08-2003 , 06:54 AM



Yes, same machine. This is a Win2k Professional. Unusally, when the
user goes to select the font, Arial is the default. However, if the
user drops down the Font combo box in the "Properties" menu, "Arial"
is not an available choice in VFP8, and many other fonts which are
loaded in the fonts folder and available in VFP6 are NOT available
fonts in VFP8, very strange.

We also tried changing the font of the combo box to an available font
in VFP8, like Arial Narrow, but the same thing occured, it cut off the
first column. If you want to see the screen shots, here is the URL.

VFP6 screen shot: http://www.bittar.org/vfoxpro/VFP6CBO.jpg

VFP8 screen shot: http://www.bittar.org/vfoxpro/VFP8CBO.jpg

Not sure if we want to switch to VFP8 yet, I'm not sure what else
would be affected. Thanks again for all the help.

Reply With Quote
  #4  
Old   
Rich R.
 
Posts: n/a

Default Re: VFP8 and Combo boxes, strange behavior on drop-down - 10-16-2003 , 09:03 AM



I also posted this on the MSDN newgroup, and another user was able to
duplicate this issue. I guess the problem occurs when you place the
control too far to the left on the form. If placed far right, doesn't
cut off any columns. Placed far left it truncates the combo box.
Here is the MSDN post:

http://communities.microsoft.com/new...(DOT) gbl%253E

Hopefully, the VFP Developers are reading one of these posts !!

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.