Subject | RE: [IBO] Odd display problem in Vista, IB_ComboBox, on IB_Grid |
---|---|
Author | Dmitriy A. Beloshistov |
Post date | 2009-01-23T08:15:38Z |
Hello!
Try set
IB_ComboBox.Parent:=IB_Grid
In OnCreate() or OnShow() event handlers in form.
WBR, Dmitry Beloshistov AKA [-=BDS=-]
From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] On Behalf Of Adrian Wreyford
Sent: Thursday, January 22, 2009 9:06 PM
To: IBObjects@yahoogroups.com
Subject: [IBO] Odd display problem in Vista, IB_ComboBox, on IB_Grid
Hi,
I cannot get this issue resolved. Perhaps somebody can help.
D2007, (still await IBO for D2009).
IB4.8.7
I have a form.
Drop a IB_Grid on the form.
Drop a IB_ComboBox on the IB_Grid ie embedded.
Connect Grid to DataSource etc to get it functional
IB_ComboBox.Style := csDropDownList
Linked to a field in the grid.
Now compile and run on Vista bussiness machine.
Display the form in the centre of the desktop, with lots of space around the form on the desktop. ie desktop 1024 X 768, form 200 X 200 as an example.
Click on the IB_ComboBox to dropdown its list to select the value to store then the following happens:
The actual dropdown list displays OFF the current form, on the top left corner of the Desktop position 0,0.
The combobox lies at somewhere near the centre of the grid, but when clicked the dropdown list displays in the top left corner of the screen, and obviously just flashes, as the mouse is not on it. This makes it impossible to use as designed.
I hope you understood this difficult to explain problem.
Any help will be appreciated.
Regards
Adrian
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
Try set
IB_ComboBox.Parent:=IB_Grid
In OnCreate() or OnShow() event handlers in form.
WBR, Dmitry Beloshistov AKA [-=BDS=-]
From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] On Behalf Of Adrian Wreyford
Sent: Thursday, January 22, 2009 9:06 PM
To: IBObjects@yahoogroups.com
Subject: [IBO] Odd display problem in Vista, IB_ComboBox, on IB_Grid
Hi,
I cannot get this issue resolved. Perhaps somebody can help.
D2007, (still await IBO for D2009).
IB4.8.7
I have a form.
Drop a IB_Grid on the form.
Drop a IB_ComboBox on the IB_Grid ie embedded.
Connect Grid to DataSource etc to get it functional
IB_ComboBox.Style := csDropDownList
Linked to a field in the grid.
Now compile and run on Vista bussiness machine.
Display the form in the centre of the desktop, with lots of space around the form on the desktop. ie desktop 1024 X 768, form 200 X 200 as an example.
Click on the IB_ComboBox to dropdown its list to select the value to store then the following happens:
The actual dropdown list displays OFF the current form, on the top left corner of the Desktop position 0,0.
The combobox lies at somewhere near the centre of the grid, but when clicked the dropdown list displays in the top left corner of the screen, and obviously just flashes, as the mouse is not on it. This makes it impossible to use as designed.
I hope you understood this difficult to explain problem.
Any help will be appreciated.
Regards
Adrian
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]