Results 1 to 5 of 5

Thread: Form Parent

  1. #1
    Join Date
    Mar 2011
    Location
    Somerset, UK
    Posts
    304
    Mentioned
    0 Post(s)
    Quoted
    24 Post(s)

    Default Form Parent

    .. is there any way to set a forms parent as SMART..

    Basicly i have a form .
    when the form loads, up pops simba with the form over the top .
    i need the form to start and simba to stay at the back and the form to open in front of SMART .

    Any ideas .. ?

  2. #2
    Join Date
    Feb 2007
    Location
    Alberta,Canada
    Posts
    2,358
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Freddy1990 has a tutorial about launching a form during runtime, You cannot use the SMART canvas as a parent afaik, but a runtime form is possible. (It's in tutorials for advanced if I recall correctly).
    “Ignorance, the root and the stem of every evil.”

  3. #3
    Join Date
    Oct 2009
    Location
    Stockton, CA
    Posts
    2,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    That is just a non modal form.
    Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
    Quote Originally Posted by #srl
    10:45 < Toter> daphil when can get sex anyday I want
    10:45 < Toter> he is always on #SRL
    "A programmer is just a tool which converts caffeine into code"

  4. #4
    Join Date
    Dec 2007
    Location
    192.168.1.73
    Posts
    2,439
    Mentioned
    6 Post(s)
    Quoted
    119 Post(s)

    Default

    SMART does actually have a paint function, which means you can print shapes and text directly onto the client. You can't have functions that allow clicking and such, though, as Simba (PS) doesn't support multithreading which is needed for listeners like mouse clicking.

  5. #5
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by Blumblebee View Post
    Freddy1990 has a tutorial about launching a form during runtime, You cannot use the SMART canvas as a parent afaik, but a runtime form is possible. (It's in tutorials for advanced if I recall correctly).
    You can just call
    Simba Code:
    TFrom.Visible := True;
    anywhere in your script (assuming you've properly created the form, just kept it invisible).

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •