General information
Category:
Forms & Form designer
Title:
Why won't the grid show?
The following code is supposed to display a grid on a page depending on user selection. It does initialize, but why does it not show?
IF !(Type('this.pageframe1.page2.'+grdClass)='O') && add new grid
this.pageframe1.page2.addobject(grdClass,grdClass) &&same name
ENDIF
temp=this.currentbrowse
IF TYPE('temp')='C'
this.pageframe1.page2.&temp..visible=.F.
ENDIF
this.currentbrowse=grdClass
WITH this.pageframe1.page2.&grdClass
.top =this.pageframe1.top+10
.left =this.pageframe1.left+50
.height=this.pageframe1.height-10
.width =this.pageframe1.width-60
.visible=.T.
ENDWITH
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only