Search found 4131 matches

by esgici
Fri Aug 01, 2008 1:40 am
Forum: HMG General Help
Topic: Simple Tutorial - 13 : Spinning Around
Replies: 0
Views: 1872

Simple Tutorial - 13 : Spinning Around

Simple tutorial based upon HMG Offical Tutorial for beginners. Spinning Around An alternate way to get numeric data is the spinner control. It consist of a textbox with two arrows that allows to change control's value using the mouse. @ 10,10 SPINNER Spinner_1 ; RANGE 0,10 ; VALUE 5 ; WIDTH 100 #inc...
by esgici
Fri Aug 01, 2008 1:37 am
Forum: HMG General Help
Topic: Simple Tutorial - 12 : Showing Progress
Replies: 0
Views: 2068

Simple Tutorial - 12 : Showing Progress

Simple tutorial based upon HMG Offical Tutorial for beginners. Showing Progress The PROGRESSBAR control allows to show the completion status of an operation. @ 10,10 PROGRESSBAR Progress_1 ; RANGE 0 , 65535 #include "minigui.ch" Function Main DEFINE WINDOW Win_1 ; AT 0,0 ; WIDTH 400 ; HEIGHT 200 ; T...
by esgici
Fri Aug 01, 2008 1:34 am
Forum: HMG General Help
Topic: Simple Tutorial - 11 : Images
Replies: 0
Views: 2064

Simple Tutorial - 11 : Images

Simple tutorial based upon HMG Offical Tutorial for beginners. Displaying Images (The IMAGE Control) The IMAGE control allows to show image files in your program. @ 10,10 IMAGE Image_1 ; PICTURE 'Demo.Bmp' ; WIDTH 90 ; HEIGHT 90 #include "minigui.ch" Function Main DEFINE WINDOW Win_1 ; AT 0,0 ; WIDT...
by esgici
Fri Aug 01, 2008 1:31 am
Forum: HMG General Help
Topic: Simple Tutorial - 10 : Getting Large Text
Replies: 0
Views: 1982

Simple Tutorial - 10 : Getting Large Text

Simple tutorial based upon HMG Offical Tutorial for beginners. Getting Large Text (The EditBox Control) The EditBox control allows to handle large (multiline) text data. @ 10,10 EDITBOX Edit_1 ; WIDTH 300 ; HEIGHT 150 #include "minigui.ch" Function Main DEFINE WINDOW Win_1 ; AT 0,0 ; WIDTH 400 ; HEI...
by esgici
Fri Aug 01, 2008 1:27 am
Forum: HMG General Help
Topic: Simple Tutorial - 9 : Getting Dates
Replies: 2
Views: 1927

Simple Tutorial - 9 : Getting Dates

Simple tutorial based upon HMG Offical Tutorial for beginners. Getting Dates (The DATEPICKER Control) The easiest way to get dates from user is the DATEPICKER control. @ 10,10 DATEPICKER Date_1 #include <minigui.ch> Function Main DEFINE WINDOW Win_1 ; AT 0,0 ; WIDTH 400 ; HEIGHT 200 ; TITLE 'DatePic...
by esgici
Fri Aug 01, 2008 1:23 am
Forum: HMG General Help
Topic: Simple Tutorial - 8 : CheckButton
Replies: 0
Views: 1898

Simple Tutorial - 8 : CheckButton

Simple tutorial based upon HMG Offical Tutorial for beginners. CheckButton = Button + CheckBox The CheckButton control, acts like a checkbox, but looks like a button. Like buttons, It comes in two flavors: Text and Graphical. @ 10,10 CHECKBUTTON CheckButton_1 ; CAPTION 'CheckButton' ; VALUE .F. @ 50...
by esgici
Fri Aug 01, 2008 1:17 am
Forum: HMG General Help
Topic: Simple Tutorial - 7 : Buttons
Replies: 0
Views: 1992

Simple Tutorial - 7 : Buttons

Simple tutorial based upon HMG Offical Tutorial for beginners. Pushing Actions (Standard Buttons) Another way for let the users to take an action (besides menus) are buttons. @ 10,10 BUTTON Button_1 CAPTION 'Click Here!' ACTION MsgInfo('Button Clicked!') #include <minigui.ch> Function Main DEFINE WI...
by esgici
Fri Aug 01, 2008 1:12 am
Forum: HMG General Help
Topic: Simple Tutorial - 6 : More Choices
Replies: 0
Views: 1977

Simple Tutorial - 6 : More Choices

Simple tutorial based upon HMG Offical Tutorial for beginners. More Choices There is various alternatives to get an user's choice besides RadioGroup. One of them is the ListBox Control @ 10, 10 LISTBOX List_1 ITEMS {'Option 1','Option 2','Option 3'} Using a Listbox, you can add, change or remove ite...
by esgici
Fri Aug 01, 2008 1:07 am
Forum: HMG General Help
Topic: Simple Tutorial - 5 : Choices
Replies: 0
Views: 2002

Simple Tutorial - 5 : Choices

Simple tutorial based upon HMG Offical Tutorial for beginners. Making a Choice Sometimes, you need to get a choice from users, between a small group of options that are known at design time. The best way to go is such cases is the RadioGroup control. @ 80, 120 RADIOGROUP Radio_1 OPTIONS {'Option 1',...
by esgici
Fri Aug 01, 2008 1:04 am
Forum: HMG General Help
Topic: Simple Tutorial - 4: Getting Logical
Replies: 0
Views: 2079

Simple Tutorial - 4: Getting Logical

Simple tutorial based upon HMG Offical Tutorial for beginners. Getting Logical Sometimes, you need to get logical data from the user. The easiest way to do that, is using a checkbox control. @ 180, 120 CHECKBOX Check_1 We add it to the program, along with new menu options to set or retrieve its valu...