forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


grid problems with object.dll

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Sun Dec 15, 2002 7:45 am    Post subject: grid problems with object.dll Reply with quote

I'm having some problems trying to make some features of object.dll work - specifically the grid one. This is my code:
Code:
DIALOG CREATE,%%title,-1,0,790,550,Class GradeBook
  DIALOG ADD,MENU,File,New...,Open...,-,Save As...,Save,-,Exit
  DIALOG ADD,MENU,Tools,Edit Name List,Edit Headers,-,Generate Summary,-,Generate HTML
  DIALOG ADD,STYLE,STYLE2,,,C,YELLOW
  DIALOG ADD,LIST,LIST1,10,670,110,110,Report Headings,STYLE2,CLICK,DBLCLICK
  DIALOG ADD,BUTTON,BUTTON1,140,670,110,30,Add Column
  DIALOG ADD,BUTTON,BUTTON2,170,670,110,30,Delete Column
  DIALOG ADD,BUTTON,BUTTON3,200,670,110,30,Clear Entire Column
  DIALOG ADD,BUTTON,BUTTON5,240,670,110,30,Add Row
  DIALOG ADD,BUTTON,BUTTON6,270,670,110,30,Delete Row
  DIALOG ADD,BUTTON,BUTTON7,300,670,110,30,Clear Entire Row
  DIALOG ADD,EDIT,EDIT1,345,675,100,20,
  DIALOG ADD,BUTTON,BUTTON4,370,670,110,30,Set Column Text
  DIALOG ADD,BUTTON,BUTTON8,400,670,110,30,Set Row Text
  DIALOG ADD,BUTTON,Quit_B,490,670,110,30,Exit
  DIALOG ADD,STATUS,STATUS1
 
  DIALOG SHOW
 
  OBJECT CLASS,GradeBook
  OBJECT ADD,STYLE,STYLE1,Arial,8,C,YELLOW,FOREGRND,BACKGRND,CYAN
  REM OBJECT ADD,STYLE,STYLE2,Arial,10,C,CYAN,FOREGRND,BACKGRND
  OBJECT ADD,GRID,GRID1,10,10,640,510,20,20,60,20,CLICK,RCLICK,DBLCLICK,SCROLL,BANDS,NOROWSIZING,NOCOLUMNSIZING,NOCOLUMNMOVING,NOROWMOVING,WRAP,STYLE1
  OBJECT SETCELLSIZE,GRID1,COLUMN,0,120
  OBJECT SETCELL,GRID1,COLUMN,0,Names


And these are my problems:
1. I can't get the text to wrap in a cell when i type it in,
2. I can't get the BAND feature to work.

Also, how do i find out the number of columns and rows a grid has? I have read several times the help file but i don't see any commands of functions to do it...

Thanks in anticipation of your help,

Serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group