Page 1 of 1
Poplist AutoVisible
Posted: Mon Feb 18, 2019 11:32 pm
by r-tea
As Poplist.class derives from Listview.class then why Hollywood doesn't recognize AutoVisible attribute in this piece of code:?
Code: Select all
...
<Poplist id="str_name" Contents="black" Notify="Acknowledge" AutoVisible="True">
<item>aliceblue</item>
...
It says "Unknown attiibute 'AutoVisible' in line ..."
Re: Poplist AutoVisible
Posted: Tue Feb 19, 2019 8:44 pm
by airsoftsoftwair
It doesn't derive from Listview class, it derives from Group class, see MUI documentation:
Code: Select all
****************************************************************************
** Class Tree
****************************************************************************
**
** rootclass (BOOPSI's base class)
** +--Notify (implements notification mechanism)
** ! +--Family (handles multiple children)
** ! ! +--Menustrip (describes a complete menu strip)
** ! ! +--Menu (describes a single menu)
** ! ! \--Menuitem (describes a single menu item)
** ! +--Application (main class for all applications)
** ! +--Window (main class for all windows)
** ! ! \--Aboutmui (About window of MUI preferences)
** ! +--Area (base class for all GUI elements)
** ! +--Rectangle (spacing object)
** ! +--Balance (balancing separator bar)
** ! +--Image (image display)
** ! +--Bitmap (draws bitmaps)
** ! ! \--Bodychunk (makes bitmap from ILBM body chunk)
** ! +--Text (text display)
** ! +--Gadget (base class for intuition gadgets)
** ! ! +--String (string gadget)
** ! ! +--Boopsi (interface to BOOPSI gadgets)
** ! ! \--Prop (proportional gadget)
** ! +--Gauge (fule gauge)
** ! +--Scale (percentage scale)
** ! +--Colorfield (field with changeable color)
** ! +--List (line-oriented list)
** ! ! +--Floattext (special list with floating text)
** ! ! +--Volumelist (special list with volumes)
** ! ! +--Scrmodelist (special list with screen modes)
** ! ! \--Dirlist (special list with files)
** ! +--Numeric (base class for slider gadgets)
** ! ! +--Knob (turning knob)
** ! ! +--Levelmeter (level display)
** ! ! +--Numericbutton (space saving popup slider)
** ! ! \--Slider (traditional slider)
** ! +--Framedisplay (private)
** ! ! \--Popframe (private)
** ! +--Imagedisplay (private)
** ! ! \--Popimage (private)
** ! +--Pendisplay (displays a pen specification)
** ! ! \--Poppen (popup button to adjust a pen spec)
** ! +--Group (groups other GUI elements)
** ! +--Mccprefs (private)
** ! +--Register (handles page groups with titles)
** ! ! \--Penadjust (group to adjust a pen)
** ! +--Settingsgroup (private)
** ! +--Settings (private)
** ! +--Frameadjust (private)
** ! +--Imageadjust (private)
** ! +--Virtgroup (handles virtual groups)
** ! +--Scrollgroup (virtual groups with scrollbars)
** ! +--Scrollbar (traditional scrollbar)
** ! +--Listview (listview)
** ! +--Radio (radio button)
** ! +--Cycle (cycle gadget)
** ! +--Coloradjust (several gadgets to adjust a color)
** ! +--Palette (complete palette gadget)
** ! +--Popstring (base class for popup objects)
** ! +--Popobject (popup aynthing in a separate window)
** ! ! +--Poplist (popup a simple listview)
** ! ! \--Popscreen (popup a list of public screens)
** ! \--Popasl (popup an asl requester)
Re: Poplist AutoVisible
Posted: Tue Feb 19, 2019 9:37 pm
by r-tea
Hmmmm.... indeed.
Then, is there a way to make Listview object popping up same way as the Poplist one? I need Listview because of AutoVisible attribute. It makes my program much more comfortable.
Re: Poplist AutoVisible
Posted: Wed Feb 20, 2019 6:00 am
by bitRocky
How about Popobject?
Re: Poplist AutoVisible
Posted: Wed Feb 20, 2019 2:15 pm
by r-tea
Would be great if I could use it. Unfortunately MUI Royale doesn't support this class.
Re: Poplist AutoVisible
Posted: Wed Feb 20, 2019 2:58 pm
by bitRocky
Then you could use a borderless window with an listview. This should be possible, or not?
Re: Poplist AutoVisible
Posted: Wed Feb 20, 2019 3:37 pm
by r-tea
Comparing to a listview it's very uncomfortable for an user. Kind of prosthetic.
Re: Poplist AutoVisible
Posted: Wed Feb 20, 2019 4:07 pm
by bitRocky
You could make it look like a mui poplist object.
The user won't see any difference.
Re: Poplist AutoVisible
Posted: Wed Feb 20, 2019 7:11 pm
by airsoftsoftwair
I think so too. AFAIR Popobject is implemented in the very same way...
Re: Poplist AutoVisible
Posted: Wed Feb 20, 2019 10:26 pm
by r-tea
Well, I'll give a try then
