Menu

#209 <Enter> and <Tab> key not work to skip a get -> While use a TAB page in other TAB. page

v1.0_(example)
open
nobody
None
1
2025-12-04
2025-12-04
No

Hi!

The <enter> and <tab> keys do not work when using a TAB object inside another TAB object.</tab></enter>

The example demonstrates the problem.

This behavior is working correctly in Hwgui version 2.17.

#include "hwgui.ch"
FUNCTION main()

  LOCAL oDlg,  oPage1, oPage2, oEdit1, oEdit2, oEdit3, oEdit4

  LOCAL  vEdit1 := "" , vEdit2 := "", vEdit3 := "" , vEdit4 := ""

  INIT DIALOG oDlg TITLE "Form1" AT 0, 0 SIZE 800,600 CLIPPER  NOEXIT

   @ 6,5 TAB oPage1 ITEMS {} SIZE 1479,554
    BEGIN PAGE 'Page 1' OF oPage1

    @ 40,73 GET oEdit1 VAR vEdit1 SIZE 80,24 of oPage1
    @ 47,124 GET oEdit2 VAR vEdit2 SIZE 80,24 of oPage1

    END PAGE OF oPage1

    BEGIN PAGE 'Page 2' OF oPage1
       @ 5,29 TAB oPage2 ITEMS {} SIZE 640,480

       BEGIN PAGE 'Page 1' OF oPage2
       @ 40,73 GET oEdit3 VAR vEdit3 SIZE 80,24 of oPage2
       @ 47,124 GET oEdit4 VAR vEdit4 SIZE 80,24 of oPage2

       END PAGE OF oPage2
    END PAGE OF oPage1

   ACTIVATE DIALOG oDlg

RETURN .T.

Best regards,
Itamar M. Lins Jr.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB