301
Programmazione (Gambas 2) / Re: [RISOLTO] lanciare mioprog.gambas da un altro mioprog2.gambas
« il: 13 Agosto 2010, 18:29:21 »
c'è un modo per sapere da codice se sto eseguendo il file da eseguibile (scusa il gioco di parole)
19/05/2023: A causa di un errore sono stati cancellati, insieme ad account creati da bot, alcuni account legittimi. Si prega di leggere qui: https://www.gambas-it.org/smf/index.php?topic=9733.0
Questa sezione ti permette di visualizzare tutti i post inviati da questo utente. N.B: puoi vedere solo i post relativi alle aree dove hai l'accesso.
Pulsante1 = NEW Button(ReForm) AS "Pulsante1"
Pulsante2 = NEW Button(ReForm)
PUBLIC SUB GridEU_Click()
DIM cordX, cordY AS Integer
DIM ReForm AS NEW Form
DIM Pulsante1, Pulsante2 AS Button
ReForm = NEW Form
WITH ReForm
.Height = 100
.Width = 300
.Center
.Show
.Title = "TITOLO"
END WITH
Pulsante1 = NEW Button(ReForm)
Pulsante2 = NEW Button(ReForm)
WITH Pulsante1
.Height = 30
.Width = 50
.X = 20
.Y = 20
.Caption = "SALVA"
END WITH
WITH Pulsante2
.Height = 30
.Width = 50
.X = 20
.Y = 60
.Caption = "EXIT"
END WITH
cordX = GridEU.Row
cordY = GridEU.Column
END