TabControl bug |
Post Reply |
Author | |
TobiasWeltner
Newbie Joined: 12 January 2005 Status: Offline Points: 35 |
Post Options
Thanks(0)
Posted: 30 January 2005 at 5:18am |
I just encountered the following reproducable bug: when you use a MDI app like the GUI sample (Visual Studio-like sample) and place a tab control on the child document, then when opening more than one child doc and returning to a previously opened child window, cursor keys inside of text controls that are placed on the tab (like Rich Text Control or any other text-accepting control) do not work anymore. This effectively renders the tabcontrol unusable for MDI apps at this point. Does anyone know of workarounds?
Edited by TobiasWeltner |
|
Flamer
Newbie Joined: 15 January 2005 Location: Netherlands Status: Offline Points: 10 |
Post Options
Thanks(0)
|
I had a problem like this and thanks to support I was able to solve it as follow: Place on the same form as the tabcontrol a picturebox-control. Place IN that picturebox the edit box (or/and all other controls you want to display on the tab). Then use the picturebox.hwnd for the Child parameter on the InsertItem (like: MyTabControl.InsertItem(lngId, strCaption,Picture1.hWnd, lngIconId) It helped solve my problem! I hope yours too! |
|
TobiasWeltner
Newbie Joined: 12 January 2005 Status: Offline Points: 35 |
Post Options
Thanks(0)
|
works indeed! Thanks so much for your hint! I sure hope though there will be some bug fixing in the future since this workaround is not really beautiful BUT at least I can get going... Again, thanks! |
|
Ajornet
Newbie Joined: 06 June 2005 Location: France Status: Offline Points: 16 |
Post Options
Thanks(0)
|
Hello,
I don't understand where I have to put a PictureBox Control : on the form containing the TabControl or on the UserControl which will be the visible part of a tab ? I don't know how to put a control IN a PictureBox, my controls are always at the same level. Can you send me an example ? Thanks for any help Daniel |
|
Daniel
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |