Adding Buttons at runtime. |
Post Reply |
Author | |
shipwreck
Senior Member Joined: 18 April 2008 Location: United States Status: Offline Points: 308 |
Post Options
Thanks(0)
Posted: 04 February 2009 at 4:14am |
Hello everyone! It's been a while since I've been on the forum. But, as you all know, I've been working on a browser for quite sometime now and I've run along into a problem. I have a "Bookmarks" AKA favorites toolbar, with an Add button. How would I go about coding this as to where if someone clicked the add button, it would add the current page as a bookmark button on the toolbar? I would also like to know how to code the added button to navigate you to the site it has on it. One more question. How would I make it to save the buttons, so that one doesn't have to add them every time he/she opens a new window?
Thanks and regards ahead of time. ShipWreck |
|
Product: Xtreme Suite Pro (Active-X), Version 15.3.1
Platform: Windows 7 Ultimate SP1 (64Bit) & Windows XP Mode SP3 (32Bit) Language: Visual Basic 6.0 SP6 |
|
shipwreck
Senior Member Joined: 18 April 2008 Location: United States Status: Offline Points: 308 |
Post Options
Thanks(0)
|
Well I guess noone knows how to do this then.
|
|
Product: Xtreme Suite Pro (Active-X), Version 15.3.1
Platform: Windows 7 Ultimate SP1 (64Bit) & Windows XP Mode SP3 (32Bit) Language: Visual Basic 6.0 SP6 |
|
shipwreck
Senior Member Joined: 18 April 2008 Location: United States Status: Offline Points: 308 |
Post Options
Thanks(0)
|
Anyone have any luck on this one? Oleg maybe? Sorry to bother you all but I don't know where else to turn with this prob.
|
|
Product: Xtreme Suite Pro (Active-X), Version 15.3.1
Platform: Windows 7 Ultimate SP1 (64Bit) & Windows XP Mode SP3 (32Bit) Language: Visual Basic 6.0 SP6 |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi Rey,
So you want to create buttons in runtime and save the added buttons?
There is an option to save the state of commandbars into a XML file (see sample C:\Program Files\Codejock Software\ActiveX\Xtreme SuitePro ActiveX V12.1\Samples\CommandBars\VB\Customizable) and you can load this file and all of commandbar control/buttons etc etc will be loaded as the last time you saved it.
I don't know if there's a way to load just a single toolbar (I think it can but Oleg knows this for sure ) but you could try this yourself...
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
shipwreck
Senior Member Joined: 18 April 2008 Location: United States Status: Offline Points: 308 |
Post Options
Thanks(0)
|
Hello Aaron.
Great suggestion, I'll have to try that. Thanks. |
|
Product: Xtreme Suite Pro (Active-X), Version 15.3.1
Platform: Windows 7 Ultimate SP1 (64Bit) & Windows XP Mode SP3 (32Bit) Language: Visual Basic 6.0 SP6 |
|
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 |