Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
but not the description field that is a memo field...
PUBLIC oform1
oform1=NEWOBJECT("form1")
oform1.Show
RETURN
**************************************************
*-- Form: form1 (c:\imaginecorp\form11.scx)
*-- ParentClass: form
*-- BaseClass: form
*-- Time Stamp: 04/28/07 12:19:06 PM
*
DEFINE CLASS form1 AS form
DoCreate = .T.
ShowTips = .T.
Caption = "Form1"
Name = "Form1"
ADD OBJECT grid1 AS grid WITH ;
ColumnCount = 2, ;
DeleteMark = .F., ;
Height = 182, ;
Left = 18, ;
Panel = 1, ;
RecordSource = "categories", ;
ScrollBars = 2, ;
Top = 24, ;
Width = 325, ;
Name = "Grid1", ;
Column1.ControlSource = "Categories.categoryid", ;
Column1.Width = 148, ;
Column1.Name = "Column1", ;
Column2.ControlSource = "Categories.categoryname", ;
Column2.Width = 142, ;
Column2.Name = "Column2"
ADD OBJECT form1.grid1.column1.header1 AS header WITH ;
Caption = "Header1", ;
Name = "Header1"
ADD OBJECT form1.grid1.column1.text1 AS textbox WITH ;
BorderStyle = 0, ;
Margin = 0, ;
ForeColor = RGB(0,0,0), ;
BackColor = RGB(255,255,255), ;
Name = "Text1"
ADD OBJECT form1.grid1.column2.header1 AS header WITH ;
Caption = "Header1", ;
Name = "Header1"
ADD OBJECT form1.grid1.column2.text1 AS textbox WITH ;
BorderStyle = 0, ;
Margin = 0, ;
ForeColor = RGB(0,0,0), ;
BackColor = RGB(255,255,255), ;
Name = "Text1"
PROCEDURE Load
If Select("categories") > 0
Select categories
Else
Select 0
Use Home()+"\samples\northwind\categories.dbf" Shared
Endif
ENDPROC
PROCEDURE grid1.Init
SELECT Categories
this.refresh
GO top
ENDPROC
PROCEDURE grid1.Column1.MouseLeave
LPARAMETERS nButton, nShift, nXCoord, nYCoord
this.ToolTipText = ""
ENDPROC
PROCEDURE grid1.Column1.MouseEnter
LPARAMETERS nButton, nShift, nXCoord, nYCoord
this.ToolTipText = categories.description
ENDPROC
PROCEDURE grid1.Column2.MouseLeave
LPARAMETERS nButton, nShift, nXCoord, nYCoord
this.ToolTipText = ""
ENDPROC
PROCEDURE grid1.Column2.MouseEnter
LPARAMETERS nButton, nShift, nXCoord, nYCoord
this.ToolTipText = categories.description
ENDPROC
ENDDEFINE
*
*-- EndDefine: form1
**************************************************
Sorry to put a damper on this, but I don't think any of the ideas discussed here will work.
So, did you check each of the links I posted here and tried it before dismissing the idea?
see my post on how to do this...