Print Page | Close Window

Adding Buttons at runtime.

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=13329
Printed Date: 07 October 2024 at 6:30am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Adding Buttons at runtime.
Posted By: shipwreck
Subject: Adding Buttons at runtime.
Date 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



Replies:
Posted By: shipwreck
Date 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


Posted By: shipwreck
Date 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


Posted By: Aaron
Date 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....


Posted By: shipwreck
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net