I have successfully uploaded LISTBOX functionality.
Only the following to be done:
LISTBOX:
* PROPERTIES
- MULTISELECT
- BREAK
- DRAGITEMS
* EVENTS
- OnCHANGE
- OnDOUBLECLICK
Moderator: Rathinagiri
Sorry, I can't understand your question.sudip wrote: But, how we can assign InputFormat or Format depending on DataType?
Great!!!... This is going fast...rathinagiri wrote:Hi friends,
I have successfully uploaded LISTBOX functionality.
Only the following to be done:
LISTBOX:
* PROPERTIES
- MULTISELECT
- BREAK
- DRAGITEMS
* EVENTS
- OnCHANGE
- OnDOUBLECLICK
Nope. It took one full day for me to figure out.This is going fast...
IMHO It's fast anyway... in only about 10 days, we are already able to write basic applications using HMG syntax!rathinagiri wrote:Nope. It took one full day for me to figure out.This is going fast...However, I gained a lot to handle QT.
Now I have implemented multiselect and onchange event too!
Now, the value property for multiselect listbox to be implemented.
Nice!rathinagiri wrote:Hi friends,
I have successfully uploaded LISTBOX functionality.![]()
Please consider that since you have this code on listbox create() method:rathinagiri wrote:Hi friends,
I have successfully uploaded LISTBOX functionality.
Only the following to be done:
LISTBOX:
* PROPERTIES
- MULTISELECT
- BREAK
- DRAGITEMS
* EVENTS
- OnCHANGE
- OnDOUBLECLICK
Code: Select all
if ValType (::nRow) != 'U' ; Self:Row := ::nRow ; EndIf
if ValType (::nCol) != 'U' ; Self:Col := ::nCol ; EndIf
if ValType (::nWidth) != 'U' ; Self:Width := ::nWidth ; EndIf
if ValType (::nHeight) != 'U' ; Self:Height := ::nHeight ; EndIf
Code: Select all
if ValType(::nWidth) == 'U'
::nWidth := 120
endif
if ValType(::nHeight) == 'U'
::nHeight := 120
endif
::oQTObject:resize( ::nWidth , ::nHeight )
Maybe something is wrong with my computers???Roberto Lopez wrote:The same applies to .jpg files.Roberto Lopez wrote: Then go to label samples folder, copy on it the hmg.gif file and compile the demo_1.
hmg.gif, will be show instead label text.
So, gifs are directly supported.
I've changed references to hmg.gif by hmg.jpg and works perfectly.