RE: Forcing Combo Box opening Upwards
Michael, I must admit I thought thre was a fix posted somewhere but I've trawled around and I can't find it at present. Dave Crozier "A computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are, in short, a perfect match" - Bill Bryson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Hawksworth Sent: 29 June 2006 08:27 To: profox@leafe.com Subject: Re: Forcing Combo Box opening Upwards I seem to remember something about a system variable that vfp uses to determine when it should make this change which I suppose you could change in the got focus method. A quick search didn't find anything so I may just be imagining this. -- Michael Hawksworth Visual Fox Solutions [EMAIL PROTECTED] www.foxpro.co.uk [excessive quoting removed by server] ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Forcing Combo Box opening Upwards
I seem to remember something about a system variable that vfp uses to determine when it should make this change which I suppose you could change in the got focus method. A quick search didn't find anything so I may just be imagining this. -- Michael Hawksworth Visual Fox Solutions [EMAIL PROTECTED] www.foxpro.co.uk ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Forcing Combo Box opening Upwards
Dave Crozier wrote: Peter, 95% of the time VFP gets it correct but just occasionally it displays the dropdown combo OFF the screen and it is a real pain to move the window upwards so you can select an entry! This might sound a bit silly but you could move the control upwards a bit just before it displays the list, then after it loses the focus move it back. Just an idea. Peter ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
RE: Forcing Combo Box opening Upwards
Peter, 95% of the time VFP gets it correct but just occasionally it displays the dropdown combo OFF the screen and it is a real pain to move the window upwards so you can select an entry! Dave Crozier "A computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are, in short, a perfect match" - Bill Bryson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Cushing Sent: 28 June 2006 17:11 To: profox@leafe.com Subject: Re: Forcing Combo Box opening Upwards Dave Crozier wrote: > Does anyone know a way of forcing a combobox to open in the upwards > direction as opposed to the default downwards direction? > > VFP seems to decide itself whether the list is too large to open in > the default downwards direction depending on the amount of window > space available below the combobox but I want to force the box in an > upwards direction. > > Any Ideas? > Hi Dave, Can't see any way to control this. The combo seems to drop down even below the edge of the current app if it can, but will go upwards if it means it will go over the taskbar. Maybe there is a custom control available to do this? Peter [excessive quoting removed by server] ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Forcing Combo Box opening Upwards
Dave Crozier wrote: Does anyone know a way of forcing a combobox to open in the upwards direction as opposed to the default downwards direction? VFP seems to decide itself whether the list is too large to open in the default downwards direction depending on the amount of window space available below the combobox but I want to force the box in an upwards direction. Any Ideas? Hi Dave, Can't see any way to control this. The combo seems to drop down even below the edge of the current app if it can, but will go upwards if it means it will go over the taskbar. Maybe there is a custom control available to do this? Peter ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Forcing Combo Box opening Upwards
Does anyone know a way of forcing a combobox to open in the upwards direction as opposed to the default downwards direction? VFP seems to decide itself whether the list is too large to open in the default downwards direction depending on the amount of window space available below the combobox but I want to force the box in an upwards direction. Any Ideas? Dave Crozier "A computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are, in short, a perfect match" - Bill Bryson -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.5/377 - Release Date: 27/06/2006 ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.