Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Adding Buttons at runtime.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Adding Buttons at runtime.

 Post Reply Post Reply
Author
Message
shipwreck View Drop Down
Senior Member
Senior Member
Avatar

Joined: 18 April 2008
Location: United States
Status: Offline
Points: 308
Post Options Post Options   Thanks (0) Thanks(0)   Quote shipwreck Quote  Post ReplyReply Direct Link To This Post Topic: Adding Buttons at runtime.
    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
Back to Top
shipwreck View Drop Down
Senior Member
Senior Member
Avatar

Joined: 18 April 2008
Location: United States
Status: Offline
Points: 308
Post Options Post Options   Thanks (0) Thanks(0)   Quote shipwreck Quote  Post ReplyReply Direct Link To This Post Posted: 05 February 2009 at 1:33pm
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
Back to Top
shipwreck View Drop Down
Senior Member
Senior Member
Avatar

Joined: 18 April 2008
Location: United States
Status: Offline
Points: 308
Post Options Post Options   Thanks (0) Thanks(0)   Quote shipwreck Quote  Post ReplyReply Direct Link To This Post Posted: 22 February 2009 at 8:17pm
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
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 23 February 2009 at 1:19am
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....
Back to Top
shipwreck View Drop Down
Senior Member
Senior Member
Avatar

Joined: 18 April 2008
Location: United States
Status: Offline
Points: 308
Post Options Post Options   Thanks (0) Thanks(0)   Quote shipwreck Quote  Post ReplyReply Direct Link To This Post Posted: 23 February 2009 at 2:19am
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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.