Tornado API Library - V12.30.08

z.dbPopText Property

Display text or memo field text in a popup window via MagicCell.

Product Version

Gold
[VisualBasic]
PublicPropertydbPopTextAsString
[C#]
publicstringdbPopText{set;}

Property Value

Obj.dbPopText = "WinProp | WinName | LinkText | Skin"

KeywordDescription
WinPropPopup Window open properties. Defaults to ->

width=400, height=300, left=200, top=200, resizable=yes, directories=no, menubar=no, toolbar=no, status=no, scrollbars=yes

WinNamePopup window name. If blank then each popup will create new windows. Default = blank.
LinkTextLink Text. Defaults to "Details...". Can use <IMG...>. LinkText is not effective when MemoTextSize is >0 in which the first MemoTextSize characters will be the Linked Text. This is for Memo Field only. For regular text field use MagicCell #PopText:length#.
SkinPopup Window Skin style. Use name and not index. Defaults to the Master's skin.

QuickProp Keyword Abbreviation

pt

Remarks

Example

<script language="VB" runat="server">
Sub Page_Load(Src As Object, E As EventArgs)
Dim Mydb As New Tornado.z
With Mydb
   .dbQP = "U=2| M=Grid| S=2| DSN=Nwind| gdf=0,1,2,Notes| Q=Employees| TH=Title=Pop Text and Memo"
   .dbMagicCell = "f=firstname|mac=#poptext#"
   .dbPopText = "Skin=Plain| LinkText = <IMG border='0' src='/tornado/images-net/search.gif'>"
   .ASPdbNET()
End With
End Sub
</script>

See Also

z Class | Tornado Namespace | dbMemoFlds