Home » Category » Microsoft Visual Basic

Microsoft Visual Basic: Zorder not working properly....

104| Sun, 02 Dec 2007 15:57:00 GMT| apps_tech| Comments (3)
All,

I have form in which i have a text box and a combobox. They are placed one above the other. The textbox is below the combobox. There is a whatsthishelpid attached to each of them. the text for property comes from another text file. When I run the form, I have the textbox initially visible. I am making the combobox invisible in the form activate event. so, at runtime I see the textbox only. The combo gets visible when I press another button in the form.
At runtime, when I click the ? mark on the top right hand corner and click the textbox I get the literature related to the textbox from the whatsthishelpid property. This works fine at runtime. The real problem occurs when I create an executable and try to run the executable. When I run the executable, whatsthishelpid property does not work for the textbox.

I tried using the zorder by making the zorder of combobox as 1 and textbox as 0 in the activate event. but did not work!!!

This is urgent...Please experts help me!!!!

Thanks in advance...

Keywords & Tags: zorder, working, properly, microsoft, visual basic, vb

URL: http://www.programmerbase.com/visual-basic/560842/
 
«« Prev - Next »» 3 helpful answers below.
MartinLiss please help me...I am relying on you a lot...

apps_tech | Mon, 03 Dec 2007 20:14:00 GMT |

Instead of using Zorder, try setting the combo Enabled = False after you make it invisible. If that doesn't help, then post your project.

martinliss | Mon, 03 Dec 2007 20:14:00 GMT |

Originally posted by MartinLiss
Instead of using Zorder, try setting the combo Enabled = False after you make it invisible. If that doesn't help, then post your project.

I will try and let you know again...thanks...

apps_tech | Mon, 03 Dec 2007 20:16:00 GMT |

Microsoft Visual Basic Hot Answers

Microsoft Visual Basic New questions

Microsoft Visual Basic Related Categories