TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Visual DCL Programming => Topic started by: jbuzbee on July 18, 2006, 08:43:54 AM

Title: I got yer (psuedo) palette right here!
Post by: jbuzbee on July 18, 2006, 08:43:54 AM
(http://www.vpiarchitecture.com/images/jbkeynotes05.jpg)

(http://www.vpiarchitecture.com/images/jbkeynotes04.jpg)

(http://www.vpiarchitecture.com/images/jbkeynotes03.jpg)

(http://www.vpiarchitecture.com/images/jbkeynotes02.jpg)

(http://www.vpiarchitecture.com/images/jbkeynotesfull.jpg)

I've "grouped" two sets of tools: those dealing with placeing and editing keynotes in a drawing and those that place, edit, and control keynote charting.  If the user picks anywhere on the grey bar that portion of the form is either rolled up or down.  If the user picks the main rollup button at the top the entire form is either rolled up or down.  There is also a close button and transparency button: Thanks to Matt W. for the popup menu code used on the transparency button!

I've also used labels to mimc "flat buttons".  Still not as nice as true flat buttons (couldn't get the image property to work on the Microsoft Toolbar control!) but I like it better than regular buttons!  Control of the "flat" button state is used with the mouseMove and mouseDown events - I know it's alot of code but hey, what else can you do? (I know learn C#).

Keynote "key" and "tag" info is saved in a .txt file to be "read" into the form.  The location of this file is saved in each drawing in a dictionary.  The form is designed to read this dictionary entry on the DocumentActivate event and then populate the listbox with the appropriate keynotes.

Lets see, that's about it on the VBA form side, if you want the full AutoLisp code to see how it all works let me know and I'll strip it out and post it.

jb
Title: Re: I got yer (psuedo) palette right here!
Post by: MP on July 18, 2006, 08:50:56 AM
(http://www.theswamp.org/screens/mp/industrious.png)
Title: Re: I got yer (psuedo) palette right here!
Post by: GDF on July 18, 2006, 09:58:54 AM
(http://www.theswamp.org/screens/mp/industrious.png)

ditto