[TDataManipulator] [Index] [TDialog]

Class TDialog


File: <toad/dialog.hh>

TDialog can be used as a parent for dialog windows. It has some special methods to control the children.

Super Classes

TGadgetWindow

Attributes

protected EWindowPlacement _placement
protected string _resource_name
public bool bDrawFocus

Methods

Apply
public void Apply()
Calls 'Apply()' for all TControl children.
!!!get the better code from dialogeditor/simpledlgeditor.cc!!!
DoLayout
public void DoLayout()
public void DoLayout(const string &s)
When you want to use TOADs dialog editor you'll have to call this method after all children were created. The `resource_name' will be used to identify the layout information e.g. the class name of the dialog.

Realize the layout specified by `SetResourceName'.

DoModal
public void DoModal()
Create window as a modal dialog and wait until the dialog is closed again.
DoModeless
public void DoModeless()
Create window as a modeless dialog.
Ok
public void Ok()
Calls 'Apply()' and close the dialog.
Reset
public void Reset()
Calls 'Reset()' for all TControl children.
SetCenterMode
public void SetCenterMode(EWindowPlacement p)
SetResourceName
public void SetResourceName(const string &s)
Sets the resource name for the next DoLayout() call.
TDialog
public TDialog(TWindow *parent, const string &title)
public ~TDialog()
adjust
protected void adjust()
childNotify
protected void childNotify(TWindow *, EChildNotify)
closeRequest
protected void closeRequest()
paint
protected void paint()

This page was generated with Stupid -- Another stupid C++ to HTML generator
Written 1998,99 by The Wizards of Zilog
Copyright © 1998,99 by the TOAD Project