Display text or memo field text in a popup window via MagicCell.
Obj.dbPopText = "WinProp | WinName | LinkText | Skin"
| Keyword | Description |
|---|---|
| WinProp | Popup 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 |
| WinName | Popup window name. If blank then each popup will create new windows. Default = blank. |
| LinkText | Link 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#. |
| Skin | Popup Window Skin style. Use name and not index. Defaults to the Master's skin. |
<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>
z Class | Tornado Namespace | dbMemoFlds