home *** CD-ROM | disk | FTP | other *** search
- {The following two procedures exist in the link file but do not get declared
- in GEMSUBS.PAS. They can be included in GEMSUBS.PAS if you want to use
- them. All this information was obtained through some calls to OSS's help
- line when I couldn't get things to work as stated in the manual. I have
- tried all of this stuff, but make no promises. You should also make sure
- that your version of Pascal is not 1.01, or else use then FIXPAS program
- to convert it to 1.02. (Note that FIXPAS, while it does make your system
- compatable with 1.02, does not change the initial message from 1.01 to 1.02.}
-
- {Obj_Draw allows you to update text fields in a dialog box without redrawing
- the entire box. You can even update editable fields, which the manual says
- you can not do. Note that the manual says you can update fixed text fields
- by using another Set_DText, but that does not really work. To do that, first
- re-call Set_DText (or even Set_DEdit) to change the text field in memory.
- Next call Obj_Draw with the following parameters: box is the dialog pointer
- to the dialog box you got back from New_Dialog. Start is the index into
- the tree for the field you are updating (tree_index is pretty much the same
- as integer). Depth should be 0, it states how far into the tree index you
- want this draw to do, and 0 will re-draw only the field indexed by start.
- x,y,w,h are the clip box size. If you don't know these, either use the
- maximum for your resolution (not elegant) or call Obj_Size with the boxes
- dialog pointer, 0 (for start in this procedure, I forget what it is for),
- and four VARIABLES (not constants as the clipping parameters will be passed
- back in these) which you will then use in Obj_Draw.}
-
- procedure obj_draw(box:dialog_ptr;start,depth:tree_index;x,y,w,h:integer);
- external;
-
- procedure obj_size(box:dialog_ptr;start:tree_index;var x,y,w,h:integer);
- external;
-
- {The following were missing from the GEMSUBS.PAS file and should be included.
- Documentation is in the manual.}
-
- procedure io_check(flag:boolean);
- external;
-
- function io_result:integer;
- external;
-
-
- ə