Poplist AutoVisible

Discuss GUI programming with the MUI Royale plugin here
Post Reply
User avatar
r-tea
Posts: 133
Joined: Tue Feb 16, 2016 11:48 pm
Location: Zdzieszowice, Poland
Contact:

Poplist AutoVisible

Post 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 ..."
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Poplist AutoVisible

Post 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)
User avatar
r-tea
Posts: 133
Joined: Tue Feb 16, 2016 11:48 pm
Location: Zdzieszowice, Poland
Contact:

Re: Poplist AutoVisible

Post 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.
bitRocky
Posts: 120
Joined: Fri Nov 14, 2014 6:01 pm

Re: Poplist AutoVisible

Post by bitRocky »

How about Popobject?
User avatar
r-tea
Posts: 133
Joined: Tue Feb 16, 2016 11:48 pm
Location: Zdzieszowice, Poland
Contact:

Re: Poplist AutoVisible

Post by r-tea »

Would be great if I could use it. Unfortunately MUI Royale doesn't support this class.
bitRocky
Posts: 120
Joined: Fri Nov 14, 2014 6:01 pm

Re: Poplist AutoVisible

Post by bitRocky »

Then you could use a borderless window with an listview. This should be possible, or not?
User avatar
r-tea
Posts: 133
Joined: Tue Feb 16, 2016 11:48 pm
Location: Zdzieszowice, Poland
Contact:

Re: Poplist AutoVisible

Post by r-tea »

Comparing to a listview it's very uncomfortable for an user. Kind of prosthetic.
bitRocky
Posts: 120
Joined: Fri Nov 14, 2014 6:01 pm

Re: Poplist AutoVisible

Post by bitRocky »

You could make it look like a mui poplist object.
The user won't see any difference.
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Poplist AutoVisible

Post by airsoftsoftwair »

I think so too. AFAIR Popobject is implemented in the very same way...
User avatar
r-tea
Posts: 133
Joined: Tue Feb 16, 2016 11:48 pm
Location: Zdzieszowice, Poland
Contact:

Re: Poplist AutoVisible

Post by r-tea »

Well, I'll give a try then :)
Post Reply