home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 3
/
PDCD_3.iso
/
internet
/
webster
/
!Webster
/
Docs
/
structures
< prev
next >
Wrap
Text File
|
1995-07-24
|
3KB
|
160 lines
Structures & Variables
----------------------
Links
-----
+0 ptr to next OR 0
+4 ptr to href FIELD
+8 flags
0 = link has an image map
+12..+32 iconhandles or icons for this link
Form
----
+0 ptr to next form
+4 ptr to contents
+8 method 0 - POST
1 - GET
2 - sendmail
+12.. Action
Form Contents
-------------
Type 0 - Text Field
+0 ptr to next Content
+4 type
+8 Icon handle
+12.. name$,default_value$
Type 1 - Check box / Radio
+0 ptr to next Content
+4 type
+8 Icon Handle
+12 Selected? (0 = No, 1 = Yes)
+16.. name$,value_if_checked$
Type 2 = Submit
+0 ptr to next Content
+4 type
+8 Icon Handle
Type 3 = Reset
+0 ptr to next Content
+4 type
+8 Icon Handle
Type 4 = Option
+0 ptr to next Content
+4 type
+8 Value Icon Handle
+12 Menu Icon Handle
+16 ptr to menu
+20 ptr to default menu
+24.. NAME
Type 5 = Option, Multiple Selections
+0 ptr to next Content
+4 type
+8 Value Icon Handle
+12 Menu Icon Handle
+16 ptr to menu
+20 ptr to default menu
+24.. NAME
Type 6 = TextArea
+0 ptr to next Content
+4 type
+8 icon%
+12 Rows
+16 Cols
+20 ptr to data lines
+24 .. name$
Type 7 = ImageMap - Not yet sendable
+0 ptr to next Content
+4 type
+8 Value Icon Handle
+12.. NAME
Misc
----
Intermediate structure for <OPTION> value parts of
<SELECT>..</SELECT>
+0 ptr to next
+4 FLAG bit 0 = Selected, 1 = Shaded
+8... CONTENT
Lists
-----
+0 ptr to next
+4 spare
+8 ptr to name
+12 ptr to url
+16 ptr to goto string (History list only)
+20 Windows scroll value (History list only)
+24 Windows height (History list only)
Method flags - mf%()
--------------------
0 - Ignore
1 - Standard Fetcher
2 - Command line
3 - Open Edit Window
4 - Open Save Window
5 - Standard Fetcher with an Extended URL
Cache variables
---------------
cs% - Cache Status (Pointer to an array of integers)
-1 - Unused cache%=9999+
0 - Available cache%=Age of entry (from 1)
1 - Fetching cache%= -(task handle)
2 - Fetching cache%= -(Fetch Message Referance)
csp%= Handle of file to contain Result
1024* Handle of file holding URL (if an Extended URL)
3 - inuse cache%=0
csp% - More Cache Status info, See above
(Pointer to an array of integers)
cache% - Cache time, See above (Pointer to
an array of integers)
cachet% - Filetype (Array of pointers to a string)
cacheu% - The cached URL (Array of pointers to a string,
in Capitals when fetched)
List Types
----------
0 - UL
1 - OL
2 - DIR
3 - MENU
Image alignment flags
---------------------
0 - left
1 - right
2 - top, texttop
3 - bottom, baseline
4 - middle, absmiddle
Choices flags (in MF%)
1 - Window shift thingy
2 - Keep Main window on screen
4 - Can Toggle to screen width
8 - Single Click Follows links
Run Types
0 - Nothing
1 - Filer_Run
2 - Load into Webster
3 - COmmand line
4 - Save Window