FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
WM22 - First window for phone/tablets
WM22 - First window for phone/tablets
Débuté par Giovanni Carella, 06 avr. 2018 09:49 - 4 réponses
Connectez-vous…
Giovanni Carella
#1
Posté le 06 avril 2018 - 09:49
Hi,
i have set 2 different windows for my android application, one for phone and one for tablet.
Whene run on my mobile device the application open the phone window, always...
some of you have a working example with 2 different windows for phone and tablet
Thanks
Signaler
0
0
Ruben Sanchez Peña
#2
Posté le 06 avril 2018 - 12:23
Hi.
In the project window tree you can indicate which is the initial window of each type of device.
Use the right mouse button over the windows to define which is the initial window for phone and which for tablet.
Rubén
Signaler
0
0
Giovanni Carella
#3
Posté le 06 avril 2018 - 12:50
I have already set up the different window for the device, but not work...
Signaler
0
0
ICI
#4
Posté le 07 avril 2018 - 22:24
Hi Giovanni
First name your configurations, example:
1. Tablet configuration
2. Phone configuration
Decide which window belong to specific configuration
I do this in project initialization code
GLOBAL
gsMasterWindow is string of 16
IF ProjectInfo(piConfiguration) = "Tablet configuration" THEN
gsMasterWindow= "WIN_Tablet_Start"
ELSE
gsMasterWindow= "WIN_Phone_Start"
END
OpenMobileWindow(gsGlavniProzor)
Regards
Signaler
0
0
Giovanni Carella
#5
Posté le 09 avril 2018 - 10:03
Perfect.... thanks ICI
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte