Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Delphi7, combobox and Windows 98

Status
Not open for further replies.

TerP1

Programmer
Jul 14, 2003
8
GB
I have a problem with the above. In Delphi 7 If I put a TCombobox on a form and fill it with any items including at least one blank string I get an access violation when trying to drop down the combo. This happens if I run the exe on 98 or even install Delphi 7 on the 98 machine and run it in the IDE. It makes no difference what the combobox dropdown style is either. This doesn't happen on 2000 or XP machines!!!!!!

To recreate:
1. Put a TCombobox control on the form.
2. In the Items property add some stings with at least one blank line ie Test, ,Test2, Test3, ,Test4
3. Run and try and drop down the combobox.

Any ideas why this would be?

Thanks for any help

T
 
Sorry, It is only when you select the blank string that you get the access violation.

Thanks

T
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top