![]() |
SOLVED: LoadStateFromString |
Post Reply ![]() |
Author | |
Baldur ![]() Senior Member ![]() Joined: 22 November 2006 Location: Germany Status: Offline Points: 244 |
![]() ![]() ![]() ![]() ![]() Posted: 09 July 2008 at 10:34am |
I have changed from 11.2.2 to version 12.0.0. In my application i use CmdBars.SaveStateToString(True, True, True) to save the userschange.At Programstart i use LoadStateFromString to rebuild the usersettings.
After that, additional i create some temporary buttons in the SystemButton.CommandBar for a recentfile-list.
In 11.2.2 it works fine.
In 12.0.0 the buttons will not be drawn, i see only an empty button !
Also, if i don't need tooltips for any control, i cleared them with:
Control.Tooltip = ""
Now, the tooltip shows automaticly the caption as tooltip.
This makes no sense !!
I can't set a space to this, because i than get an empty tooltipwindow.
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Need to see your code.
If you don't need tooltips just set .Options.ToolBarScreenTips = False
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Baldur ![]() Senior Member ![]() Joined: 22 November 2006 Location: Germany Status: Offline Points: 244 |
![]() ![]() ![]() ![]() ![]() |
Ok, in version 12.0.0 LoadStateFromString rebuilds all controls.
So i must set my local variable, that holds the created systembuttom, with the new object of the systembutton.
Than it works as expected.
|
|
![]() |
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 |