B4J Question Pane and wrong type

Fabrice La

Active Member
Licensed User
Longtime User
I created in JavaFX a form with pane.
In the pane I added radioButtons I used the B4J menu "Generate Members :

B4X:
Private PanePS  As Pane

When I start the form I have :
 

Fabrice La

Active Member
Licensed User
Longtime User
FXML File
 
Upvote 0

Fabrice La

Active Member
Licensed User
Longtime User

Missed the begining ....
 
Upvote 0

Fabrice La

Active Member
Licensed User
Longtime User
Yes I know it but where you develop in :
B4X:
Sub Class_Globals
    Private PanePS  As Pane 'from "Generate menbers"
......
End Sub
.....
Sub ChangeRadioBouton()
    If RadioBtn4cv.Selected Then
          PanePS.Visible = True
      End If
End Sub

I have this error when the form shows
 
Upvote 0

Fabrice La

Active Member
Licensed User
Longtime User
I checked with the ModalForm Tutorial and modified it

I have the same error.

Here the appli
 

Attachments

  • ModalExamplePane.zip
    23.4 KB · Views: 384
Upvote 0

Fabrice La

Active Member
Licensed User
Longtime User
It is not working when I click on Choose color .... Why ?
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…