Import initial din SVN ROAAUTO/Trunk @HEAD
This commit is contained in:
BIN
COMUN/utile/Menu/MenuTool.VCT
Normal file
BIN
COMUN/utile/Menu/MenuTool.VCT
Normal file
Binary file not shown.
BIN
COMUN/utile/Menu/PopMenu.zip
Normal file
BIN
COMUN/utile/Menu/PopMenu.zip
Normal file
Binary file not shown.
34
COMUN/utile/Menu/citeste.txt
Normal file
34
COMUN/utile/Menu/citeste.txt
Normal file
@@ -0,0 +1,34 @@
|
||||
loPop = Newobject("PopMenu", "menutool.vcx")
|
||||
loPop.Clear
|
||||
|
||||
*** Categorii note
|
||||
lcParentKey = ""
|
||||
lcKey = Alltrim(Str(NVL(loCategorie.Id, 0)))
|
||||
lcTitle = Alltrim(loCategorie.nume) + " (" + ALLTRIM(STR(loCategorie.nr_seturi)) + ")"
|
||||
lcCommand = ""
|
||||
lcPicture = ""
|
||||
llEnabled = .T.
|
||||
lnAddFlag = 0x00
|
||||
loPop.Add(m.lcParentKey, m.lcKey, m.lcTitle, m.lcCommand, m.lcPicture, m.llEnabled, m.lnAddFlag)
|
||||
|
||||
lcKey = lcParentKey + "_" + Alltrim(Str(loSet.Id))
|
||||
lcTitle = Alltrim(loSet.nume)
|
||||
lcCommand = ""
|
||||
lcPicture = ""
|
||||
llEnabled = .T.
|
||||
lnAddFlag = 0x00
|
||||
loPop.Add(m.lcParentKey, m.lcKey, m.lcTitle, m.lcCommand, m.lcPicture, m.llEnabled, m.lnAddFlag)
|
||||
|
||||
loPop.nReturn = 1 && Key
|
||||
loPop.lOwnerDraw = .T.
|
||||
lcReturnKey = loPop.ShowBy(This)
|
||||
lcReturnKey = NVL(lcReturnKey, '')
|
||||
|
||||
IF !EMPTY(m.lcReturnKey)
|
||||
lnPos = AT('_', m.lcReturnKey)
|
||||
IF m.lnPos > 0
|
||||
lcIdSet = SUBSTR(m.lcReturnKey, m.lnPos + 1)
|
||||
lnIdSet = VAL(m.lcIdSet)
|
||||
DO note_fara_predefinire WITH m.lnIdSet IN proceduri.prg
|
||||
ENDIF
|
||||
ENDIF
|
||||
BIN
COMUN/utile/Menu/menutool.vcx
Normal file
BIN
COMUN/utile/Menu/menutool.vcx
Normal file
Binary file not shown.
1207
COMUN/utile/Menu/win32api.h
Normal file
1207
COMUN/utile/Menu/win32api.h
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user