Search the Community
Showing results for tags 'dialogs'.
-
With much gratitude to Pat Stanford, JBenghiat, Sam Jones and Jesse Cogswell (btw, how'd I tag them in a post?) I got my script complete, as shown . It takes an imported spreadsheet, with a key to lighting devices, and the user (via a popup list) gets to assign actual lighting devices to the key, then inserts the correct lighting devices with all relevant data attached. My question is about the resource popup. I'd like it to default to a blank image. In the screenshot, I have imported the CSV and simply selected a key entry, yet the popup shows the clamp object. 1. I don't want key A to refer to the clamp. 2. It doesn't anyway. I'm using the popup events to assign the symbol to the key. No event, no key. 3. Although it doesn't show here, once I have set key 'A' to a device, when I select an empty key the popup doesn't change. It swaps nicely between assigned keys, but the control doesn't change when choosing an unassigned key. I'd like an unassigned key to blank the popup. Is there a way to add a 'blank' entry to a popup? Something like: PopupIndex = vs.InsertImagePopupResource( dialog, dlg.kLightPopup, None, 0 ) Thank you.
-
vs.GetLBHeaderTextWidth(className, allowForSortIcon) The function above is crashing my VW 2021. Anyone else can confirm before I try a reinstall/bug submission? It gets pixel width for specified string (param:className for some reason??) for use with Dialog ListBrowsers.. Cheers, Tui