3388_it-IT
Finestra interattivaOk, questo potrebbe essere nella documentazione da qualche parte e ho appena trovato, ma sono curioso di poter fare quanto segue (o qualcosa di molto simile ad esso).
Presenta l'utente con una finestra modale. Nella finestra ci sono 4 checkbox, in basso, un'area di visualizzazione. Per ogni casella che l'utente controlla, presenta la somma del valore associato a quella casella. Cioè, se le caselle di controllo sono etichettate, 1-4, controllando le prime due restituirà 1 + 2 = 3 e poi, se l'utente controlla la terza casella, la finestra di visualizzazione si aggiornerà automaticamente (o, dopo aver premuto un pulsante di aggiornamento) per visualizzare 1 + 2 + 3 = 6.
È possibile? Grazie!Ri: Finestra interattivaGrazie mille! Questo è perfetto!Ri: Finestra interattiva
style = "font-size: 10pt; font-family:" Arial "," sans-serif "; colore: nero;"> Ecco
come si usa
NUOVA FINESTRA:
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
style = "font-size: 10pt; font-family:" Courier New "; color: black;"> nw
style = "font-size: 10pt; font-family:" Courier New "; color: navy;"> =
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
style = "font-size: 10pt; font-family:" Courier New "; colore: rgb (0, 0, 221);"> nuovo
finestra
style = "font-size: 10pt; font-family:" Courier New "; color: black;"> (
style = "font-size: 10pt; font-family:" Courier New "; color: purple;"> "Checkbox
demo"
style = "font-size: 10pt; font-family:" Courier New "; color: navy;">,
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
style = "">
style = "font-size: 10pt; font-family:" Courier New "; colour: rgb (0, 0, 221);"> panelbox
style = "font-size: 10pt; font-family:" Courier New "; color: black;"> (
style = "font-size: 10pt; font-family:" Courier New "; color: purple;"> "Check
caselle per sommare i valori "
style = "font-size: 10pt; font-family:" Courier New "; color: navy;">,
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
style = "">
number_cbox
style = "font-size: 10pt; font-family:" Courier New "; color: navy;"> =
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
style = "font-size: 10pt; font-family:" Courier New "; colour: rgb (0, 0, 221);"> checkbox
style = "font-size: 10pt; font-family:" Courier New "; color: black;"> ({
style = "font-size: 10pt; font-family:" Courier New "; color: purple;"> "1"
style = "font-size: 10pt; font-family:" Courier New "; color: navy;">,
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
style = "font-size: 10pt; font-family:" Courier New "; color: purple;"> "2"
style = "font-size: 10pt; font-family:" Courier New "; color: navy;">,
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
style = "font-size: 10pt; font-family:" Courier New "; color: purple;"> "3"
style = "font-size: 10pt; font-family:" Courier New "; color: navy;">,
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
style = "font-size: 10pt; font-family:" Courier New "; color: purple;"> "4"
style = "font-size: 10pt; font-family:" Courier New "; colore: black;">}
style = "font-size: 10pt; font-family:" Courier New "; color: navy;">,
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
style = "">
num_list
style = "font-size: 10pt; font-family:" Courier New "; color: navy;"> =
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
number_cbox
style = "font-size: 10pt; font-family:" Courier New "; color: navy;"> <<
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
essere selezionato
style = "font-size: 10pt; font-family:" Courier New "; color: navy;">;
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
style = "">
somma totale
style = "font-size: 10pt; font-family:" Courier New "; color: navy;"> =
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
style = "font-size: 10pt; font-family:" Courier New "; color: teal;"> 0
style = "font-size: 10pt; font-family:" Courier New "; color: navy;">;
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
style = "">
style = "font-size: 10pt; font-family:" Courier New "; color: rgb (0, 0, 221);"> per
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
( io
style = "font-size: 10pt; font-family:" Courier New "; color: navy;"> =
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
style = "font-size: 10pt; font-family:" Courier New "; color: teal;"> 1
style = "font-size: 10pt; font-family:" Courier New "; color: navy;">,
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
io
style = "font-size: 10pt; font-family:" Courier New "; color: navy;"> <=
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
style = "font-size: 10pt; font-family:" Courier New "; color: rgb (0, 0, 221);"> nitem
style = "font-size: 10pt; font-family:" Courier New "; color: black;"> (
style = "font-size: 10pt; font-family:" Courier New "; color: black;"> num_list )
style = "font-size: 10pt; font-family:" Courier New "; color: navy;">,
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
io
style = "font-size: 10pt; font-family:" Courier New "; color: navy;"> ++,
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
style = "">
somma totale
style = "font-size: 10pt; font-family:" Courier New "; color: navy;"> =
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
somma totale
style = "font-size: 10pt; font-family:" Courier New "; color: navy;"> +
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
style = "font-size: 10pt; font-family:" Courier New "; color: rgb (0, 0, 221);"> num
style = "font-size: 10pt; font-family:" Courier New "; color: black;"> (
style = "font-size: 10pt; font-family:" Courier New "; color: black;"> num_list [ io ])
style = "font-size: 10pt; font-family:" Courier New "; color: navy;">;
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
style = "">
)
style = "font-size: 10pt; font-family:" Courier New "; color: navy;">;
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
style = "">
sum_tb
style = "font-size: 10pt; font-family:" Courier New "; color: navy;"> <<
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
imposta il testo (
style = "font-size: 10pt; font-family:" Courier New "; color: rgb (0, 0, 221);"> char
style = "font-size: 10pt; font-family:" Courier New "; color: black;"> (
style = "font-size: 10pt; font-family:" Courier New "; colore: black;"> total_sum ))
style = "font-size: 10pt; font-family:" Courier New "; color: navy;">;
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
style = "">
)
style = "">
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
style = "">
)
style = "font-size: 10pt; font-family:" Courier New "; color: navy;">,
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
style = "">
sum_tb
style = "font-size: 10pt; font-family:" Courier New "; color: navy;"> =
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
style = "font-size: 10pt; font-family:" Courier New "; colour: rgb (0, 0, 221);"> textbox
style = "font-size: 10pt; font-family:" Courier New "; color: black;"> (
style = "font-size: 10pt; font-family:" Courier New "; color: purple;"> ""
style = "font-size: 10pt; font-family:" Courier New "; color: black;">)
style = "font-size: 10pt; font-family:" Courier New "; color: navy;">,
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
style = "">
style = "font-size: 10pt; font-family:" Courier New "; colour: rgb (0, 0, 221);"> pulsante
scatola
style = "font-size: 10pt; font-family:" Courier New "; color: black;"> (
style = "font-size: 10pt; font-family:" Courier New "; color: purple;"> "OK"
style = "font-size: 10pt; font-family:" Courier New "; color: navy;">,
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
nw
style = "font-size: 10pt; font-family:" Courier New "; color: navy;"> <<
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
chiudi la finestra )
style = "font-size: 10pt; font-family:" Courier New "; color: navy;">,
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
style = "font-size: 10pt; font-family:" Courier New "; color: black;">
style = "">
style = "font-size: 10pt; line-height: 115%; font-family:" Courier New "; color: black;">)
style = "font-size: 10pt; line-height: 115%; font-family:" Courier New "; color: navy;">;
Comments
There are no comments yet