Re: Blank Listbox

2018-02-23 Thread Pat Bensky via 4D_Tech
Hi Spencer,
It's a selection-based listbox.

Anyway I've found a workaround ...

Instead of setting everything invisible and then making the appropriate
objects visible, if I do it the opposite way round it works OK.

IE instead of:
OBJECT SET VISIBLE(*;"@";false)
OBJECT SET VISIBLE(*;"basic@";true)
OBJECT SET VISIBLE(*;"group2@";true)

I use:
OBJECT SET VISIBLE(*;"@";true)
OBJECT SET VISIBLE(*;"group1@";false)
OBJECT SET VISIBLE(*;"group3@";false)
OBJECT SET VISIBLE(*;"group4@";false)

Illogical, but it works :)

PB

On 23 February 2018 at 15:42, Spencer Hinsdale via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> my blank list boxes are always arrays, out of sync, which is easy to suss
> by backing off the fill instructions until it shows something.  hint, one
> column is always in sync.
>
> however i don't think this problem makes headers blank.
>
> i would suggest you try leaving listbox in group4 and showing group4 but
> NOT hiding group1.  if needed scoot some objects around so they can be
> viewed together.  does this make any difference?
>
> > On Feb 23, 2018, at 7:32 AM, Pat Bensky via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > Why would it appear as a blank box in Group​4?
> >
> > Thanks for any enlightenment you can offer!
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **




-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Blank Listbox

2018-02-23 Thread Arnaud de Montard via 4D_Tech

> Le 23 févr. 2018 à 16:42, Spencer Hinsdale via 4D_Tech <4d_tech@lists.4d.com> 
> a écrit :
> 
> my blank list boxes are always arrays, out of sync

same here: columns empty in a listbox (lb) means on column shorter or longer 
that others. 

How is filled the lb in group4: selection to array, sql into lb, other… ?

-- 
Arnaud 




**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Blank Listbox

2018-02-23 Thread Spencer Hinsdale via 4D_Tech
my blank list boxes are always arrays, out of sync, which is easy to suss by 
backing off the fill instructions until it shows something.  hint, one column 
is always in sync.

however i don't think this problem makes headers blank.

i would suggest you try leaving listbox in group4 and showing group4 but NOT 
hiding group1.  if needed scoot some objects around so they can be viewed 
together.  does this make any difference?

> On Feb 23, 2018, at 7:32 AM, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Why would it appear as a blank box in Group​4?
> 
> Thanks for any enlightenment you can offer!

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Blank Listbox

2018-02-23 Thread Pat Bensky via 4D_Tech
Using v16 ... Mac ...
I have a form on which there are lots of objects which have been named in
groups - e.g. "group1Text1" "group1label1" etc.
The groups of objects are hidden or shown depending on which tab has been
selected.
eg

*OBJECT SET VISIBLE*(*;"Group1@";*True*)

*OBJECT SET VISIBLE*(*;"Group2@";*false*)

​Included in Group4 is a new Listbox. When Group4 is displayed, the Listbox
appears blank: no columns, no headers, no data.

If I change the object name for that listbox to "Group1LB1" so that it will
be displayed with Group 1, it appears as expected ... headers, columns,
data. The only thing that's changed is the object name.

Why would it appear as a blank box in Group​4?

Thanks for any enlightenment you can offer!

Pat

-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**