There are still some bugs, don't do a new release on today svn !rathinagiri wrote:Thanks a LOT for your update. It is great.
First I want to unite Browse, Grid and VirtualGrid.
Welcome to the Project Developers' Table
Moderator: Rathinagiri
Re: Welcome to the Project Developers' Table
- Rathinagiri
- Posts: 5481
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: Welcome to the Project Developers' Table
Ok. I won't.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- Rathinagiri
- Posts: 5481
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: Welcome to the Project Developers' Table
I want to process the 'enter' or 'return' key to act as a tab key for "set navigation extended".
For this, I took "TextBox" as sample and added a 'connect' like this around in /source/textbox.prg at line number 568.
I have added in control.prg as under.
I could not get it to work. It gives runtime error at sendEvent().
For this, I took "TextBox" as sample and added a 'connect' like this around in /source/textbox.prg at line number 568.
Code: Select all
::oQTObject:connect( QEvent_KeyPress , {|e| ::DoControlKeyBoardEvents( e )} )
Code: Select all
* control.prg
METHOD DoControlKeyBoardEvents( e ) Class CONTROL
LOCAL oKeyEvent := QKeyEventFromPointer( e )
LOCAL nKey := oKeyEvent:key()
LOCAL nModifiers := oKeyEvent:modifiers()
LOCAL oNewKeyEvent
IF (nKey == Qt_Key_Return .and. nModifiers == Qt_NoModifier ) .or.( nKey == Qt_Key_Enter .and. nModifiers == Qt_KeypadModifier )
oNewKeyEvent := QKeyEvent( QEvent_KeyPress, Qt_Key_Tab, Qt_NoModifier, 'Tab', 0, 1 )
::s_qApp:sendEvent( ::oQTObject, oNewKeyEvent )
oNewKeyEvent := QKeyEvent( QEvent_KeyRelease, Qt_Key_Tab, Qt_NoModifier, 'Tab', 0, 1 )
::s_qApp:sendEvent( ::oQTObject, oNewKeyEvent )
RETURN .F.
ENDIF
RETURN .F.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
Re: Welcome to the Project Developers' Table
There were problems with sendEvents code and they were solved last week, after rev 16420. You need to wait.
- Rathinagiri
- Posts: 5481
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: Welcome to the Project Developers' Table
Thanks for the info.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- Rathinagiri
- Posts: 5481
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: Welcome to the Project Developers' Table
Francesco,
Had you updated HMG 4.0 source in line with latest Nightly build?
Or, Shall I start doing?
Had you updated HMG 4.0 source in line with latest Nightly build?
Or, Shall I start doing?
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
Re: Welcome to the Project Developers' Table
I'm 24/24 on hbQt now. There is a problem with the new code and we are investigating. So please don't update the hmg-4 sources in svn yet otherwise no-one will be able to compilerathinagiri wrote:Francesco,
Had you updated HMG 4.0 source in line with latest Nightly build?
Or, Shall I start doing?
- Rathinagiri
- Posts: 5481
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: Welcome to the Project Developers' Table
Ok Francesco,
I will wait for your signal.
I will wait for your signal.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
-
Carlos Britos
- Posts: 245
- Joined: Sat Aug 02, 2008 5:03 pm
Re: Welcome to the Project Developers' Table
Himrduck wrote:So please don't update the hmg-4 sources in svn yet otherwise no-one will be able to compile
I've made Dial class, here is the code to upload if it is accepted.
- Attachments
-
- dial.zip
- (2.81 KiB) Downloaded 167 times
Regards/Saludos, Carlos (bcd12a)
- Rathinagiri
- Posts: 5481
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: Welcome to the Project Developers' Table
Code: Select all
2011-04-01 20:00 UTC+0530 Rathinagiri (<srgiri@dataone.in>)
* source/browse.prg
* source/datepicker.prg
* source/monthcalendar.prg
* source/grid.prg
* source/listbox.prg
* source/printer.prg
* source/windows.prg
* source/virtualgrid.prg
* Changes according to the latest version of HBQT. Thanks for the contribution by Francesco.East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.