Contributed works of Danny A. del Pilar
How to build menu like old ACHOICE function?
KPI (Key Performance Indicator) Dashboard
How to build menu like old ACHOICE function?
KPI (Key Performance Indicator) Dashboard
File Name: HMG.3.3.1.exe
File Size: 46.91 MB
Date: 15. July 2014
Description:
-HMG 3.3.1 (Stable) 2014/07/15
– Updated to latest Harbour Nightly Build (2014-07-15)
– New property in Label control
– NoPrefix
– New New property in DatePicker control
– FORMAT <cFormatDate> (see demo)
– New Now all controls (Button, CheckButton, ToolBarButton, ComboBox, Grid, Tab, Tree, Menu, etc) loaded images: BMP, GIF, TIF, JPG and PNG
– New Now all controls (Button, CheckButton, ToolBarButton, ComboBox, Grid, Tab, Tree, Menu, etc) support the NOTRANSPARENT property
– New Grid control support the NOTRANSPARENTHEADER property
– New Print images in formats: BMP, GIF, JPG, TIF, WMF, EMF, CUR and PNG.
- @ <nRow> , <nCol> PRINT IMAGE <cImageFileName> | <cImageResourcename> WIDTH <nWidth> HEIGHT <nHeight> [ STRETCH ] [ TRANSPARENT ] [ TRANSPARENTCOLOR anTransparentColor ]
– New functions for read Keyboard and Mouse (see doc)
– SET CONTROL <ControlName> OF <FormName> ONKEYEVENT <FuncName> | NIL
– SET CONTROL <ControlName> OF <FormName> ONMOUSEEVENT <FuncName> | NIL
– HMG_GetOnKeyControlIndex ( [ @nSubIndex ] ) –> nIndex
– HMG_GetOnMouseControlIndex ( [ @nSubIndex ] ) –> nIndex
– New functions for control edge (see doc)
– SET CONTROL <ControlName> OF <FormName> CLIENTEDGE
– SET CONTROL <ControlName> OF <FormName> STATICEDGE
– SET CONTROL <ControlName> OF <FormName> NOTEDGE
– New Functions:
– GetKeyboardLayoutName()
– ActivateKeyboardLayout()
– GetKeyboardLayout()
– GetKeyboardLayoutList()
– LoadKeyboardLayout ()
– UnloadKeyboardLayout()
– TerminateProcess ( [ nProcessID ] , [ nExitCode ] )
– GetWindowThreadProcessId (hWnd, @nThread, @nProcessID)
– IsWow64Process ( [ nProcessID ] ) –> return lBoolean
– return TRUE if a 32-bit application is running under 64-bit Windows (WOW64)
– return FALSE if a 32-bit application is running under 32-bit Windows
– return FALSE if a 64-bit application is running under 64-bit Windows
– WOW64 is the x86 emulator that allows 32-bit Windows-based applications to running on 64-bit Windows
– New: VirtualKeyboard (see doc)
– VirtualKeyboard.OPEN [ SHOW ]
– VirtualKeyboard.OPEN HIDE
– VirtualKeyboard.Show
– VirtualKeyboard.Hide
– VirtualKeyboard.Release
– VirtualKeyboard.IsRelease
– VirtualKeyboard.IsOpen
– VirtualKeyboard.IsVisible
– VirtualKeyboard.IsMinimize
– VirtualKeyboard.IsMaximize
– VirtualKeyboard.Handle
– VirtualKeyboard.Title [ := | –> ] cTitle
– VirtualKeyboard.Row [ := | –> ] nRow
– VirtualKeyboard.Col [ := | –> ] nCol
– VirtualKeyboard.Width [ := | –> ] nWidth
– VirtualKeyboard.Height [ := | –> ] nHeight
– VirtualKeyboard.FileName –> “OSK.EXE”
– VirtualKeyboard.FullFileName –> GetSystemDir()+”\OSK.EXE”
– Fixed Numeric Textbox bug –> http://hmgforum.com/viewtopic.php?p=34890#p34890
– Fixed bug in Grid control build in 64-bits –> http://hmgforum.com/viewtopic.php?p=34946#p34946
– Fixed bug in FocusedControl Property (reported by Tiampei)
– Fixed Windows problem of overlap between ToolBar Bottom and StatusBar
– HMG IDE
-Fixed when not found the text editor calls notepad.exe of windows (reported by Roberto Lopez)
-Updated Polish language in Unicode (contributed by Marek)
HMG.3.3.1 DOC.zip 2.02 MB
HMG.3.3.1 HARBOUR.zip 21.17 MB
HMG.3.3.1 hfcl.zip 85.50 KB
HMG.3.3.1 IDE.zip 1.75 MB
HMG.3.3.1 IDE_ANSI.zip 1.74 MB
HMG.3.3.1 INCLUDE.zip 207.78 KB
HMG.3.3.1 lib.zip 588.89 KB
HMG.3.3.1 MINGW.zip 80.84 MB
HMG.3.3.1 RESOURCES.zip 97.55 KB
HMG.3.3.1 SAMPLES.zip 9.99 MB
HMG.3.3.1 SOURCE.zip 697.39 KB
Allows selection of an element from an array
Syntax
ACHOICE(<nTop>, <nLeft>, <nBottom>, <nRight>,; <acMenuItems>, [<alSelableItems> | <lSelableItems>],; [<cUserFunction> | <bUserBlock>], [<nInitialItem>],; [<nWindowRow>]) --> nPosition
Arguments
<nTop> – topmost row used to display array (default 0)
<nLeft> – leftmost row used to display array (default 0)
<nBottom> – bottommost row used to display array (default MaxRow())
<nRight> – rightmost row used to display array (default MaxCol())
<acMenuItems> – the character array of items from which to select
<alSelableItems> – an array of items, either logical or character, which is used to determine if a particular item may be selected. If the type of a given item is character, it is macro evaluated, and the result is expected to be a logical. A value of .T. means that the item may be selected, .F. that it may not. (See next argument: lSelectableItems)
<lSelableItems> – a logical value which is used to apply to all items in acMenuItems. If .T., all items may be selected; if .F., none may be selected. (See previous argument: alSelectableItems) Default .T.
<cUserFunction> – the name of a function to be called which may affect special processing of keystrokes. It is specified without parentheses or parameters. When it is called, it will be supplied with the parameters: nMode, nCurElement, and nRowPos. Default NIL.
<bUserBlock> – a codeblock to be called which may affect special processing of keystrokes. It should be specified in the form {| nMode, nCurElemenet, nRowPos | ; MyFunc( nMode, nCurElemenet, nRowPos ) }. Default NIL.
<nInitialItem> – the number of the element to be highlighted as the current item when the array is initially displayed. 1 origin. Default 1.
<nWindowRow> – the number of the window row on which the initial item is to be displayed. 0 origin. Default 0.
Returns
<nPosition> – the number of the item to be selected, or 0 if the selection was aborted.
Description
Allows selection of an element from an array. Please see standard CA-Cl*pper documentation for ACHOICE for additional detail.
Examples
aItems := { "One", "Two", "Three" } nChoice := AChoice( 10, 10, 20, 20, aItems ) IF nChoice == 0 ? "You did not choose an item" ELSE ? "You chose element " + hb_ntos( nChoice ) ?? " which has a value of " + aItems[ nChoice ] ENDIF
Files
Library is rtl
Compliance
Clipper
Seealso
MENU TO