gettingstarted
[Top] [All Lists]

how to view a editfield builded with code ?

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: how to view a editfield builded with code ?
From: dazz <dazz55 at mac dot com>
Date: Mon, 30 Aug 2004 22:29:30 +0200
Delivered-to: gettingstarted at lists dot realsoftware dot com

hi

i'm trying to create an editfield control by code, but it doesn't appears on the window. i must be missing something

  dim CurField as EditField

  CurField = new EditField

  CurField.parent = nil
  //CurField.parent = window (Window1)
  CurField.left= 10
  CurField.top= 10
  CurField.text = "blabla"
  CurField.height=20
  CurField.width = 60
  CurField.visible = true
  CurField.refresh (true)


  EditFieldLst.append (CurField)

(EditFieldLst is an Editfield array store as a property of the window)

thx for any sugestions

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>