Sigma Php Ajax framework, Ajax Components, GUI Builder
July 30, 2010, 09:21:48 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Tutorial 10 - Windows & Dialog Programming  (Read 2144 times)
steven
Moderator
Hero Member
*****
Posts: 539



View Profile
« on: February 12, 2009, 01:43:29 AM »

Let's start with a simple but very insteresting application.
[Req Spec]
An input box and a button needed.
When end users input a web address, for example, "http://www.google.com", then clicks button, a sigma window popup with google page inside.

[Do It Yourself]
1. Drag an [Input] to design area, set [alias] to "input1"(Click input to select it, type "input1" in [Component Config Window]->[alias],and strike [Enter] on keyboard).
2. Drag a [Button] to design area.
3. Add event handler for button being clicking.(Click button to select it,click on right side of [Component Config Window]->[events]->[onClick],a small button will appear. Click this button, a dialog box will pop up.)
4. You will see the following lines in the dialog

5. Add one line of code. It looks like this. 

6. Click [OK] to close dialog. Run it to see what happen

To be continued...
« Last Edit: March 12, 2009, 03:02:51 AM by steven » Logged

Sigma AJAX Data Grid - Easy to Integrate with PHP, ASP Classic, ASP.NET & Java
Sigma PHP Ajax Framework - WYSIWYG GUI Builder With Tree, Grid, Treegrid, Dialog, Tab & More Component
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!