I set the List as Hidden = True at design time (in the designer) but the list is still very visible when I run the program.
I tried hiding the list at runtime in the form’s “onshow” event but you can see the list for a split second when the form loads before it disappears. That is VERY ugly and makes my app look buggy.
form.onshow=function(){
list.hidden = true;
}
I put “list.hidden = true;” in the global space and that hides the list before the form is first loaded, but… It’s just bad practice to put that there. (IMHO)
To fix all the ugly on subsequent loads I just added…
form.onhide=function(){
list.hidden = true;
}
…so that the list is hidden before the form is loaded again.
I am using version 6.2.6.4 on Windows and testing with Chrome.
Since updating to 6.2.7 the list object can be hidden at design time but a new problem arises. The problem is that once it is hidden at design time it cannot be shown at run time with list.hidden = false. For now I am still using the fix I described before.
Also I noticed that code completion suggests a list.hide() and list.show() but they do not work.