#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default Dynamic GUI

Hi NG

This is a kind of newbie question.

I have a GUI which contain a multipage widget.
Each page can be accesed by clicking on a tab.

Here is the deal. From some source of data (XML) i get some categories. I
want to create a tab for each category in the multipage widget. I.e. the
number of tabs are determined at "run-time".

I am a bit stuck on this one e.g. how to dynamically create the callbacks
and so on.

Any pointers would be appreciated.

Mark


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Dynamic GUI

Look at Chip Pearsons page on this related topic

http://www.cpearson.com/excel/vbe.htm

also John Walkenbach has a sample of creating a userform at runtime - you
can use some of those techniques in adding your pages and controls to the
pages.

http://j-walk.com/ss/excel/tips/tip76.htm
Creating a Userform dynamically

--
Regards,
Tom Ogilvy


"Mark" wrote in message
...
Hi NG

This is a kind of newbie question.

I have a GUI which contain a multipage widget.
Each page can be accesed by clicking on a tab.

Here is the deal. From some source of data (XML) i get some categories. I
want to create a tab for each category in the multipage widget. I.e. the
number of tabs are determined at "run-time".

I am a bit stuck on this one e.g. how to dynamically create the callbacks
and so on.

Any pointers would be appreciated.

Mark




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default Dynamic GUI

If I understand your question, adding a page at runtime is done like this:

MultiPage1.Pages.Add "NewPg"



--
Jim Rech
Excel MVP


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic pivot table linked to dynamic excel spreadsheets FErd Excel Worksheet Functions 0 April 29th 10 10:44 PM
Dynamic chart pasted to a new workbook in report can't be dynamic Piotr (Peter)[_2_] Charts and Charting in Excel 2 August 6th 08 05:15 AM
Make dynamic charts more dynamic Milo Charts and Charting in Excel 1 April 12th 06 09:01 AM
Help with copying dynamic column selected based on remote cell value and dynamic formula fill ers Charts and Charting in Excel 0 March 1st 06 01:05 AM
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM


All times are GMT +1. The time now is 02:09 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"