Re: Rép : Substack command don't reach main stack when executed as Standalone-"Corrected"
m.schonewille at economy-x-talk.com
Wed Feb 13 16:46:17 EST 2008
I have tested your script and it works fine, both as a stack and as a
standalone, provided that the necessary fields are available.
I never use this feature, but in this case it might be useful: in the
standalone settings, there is a Bug Reports features, which you can
turn on. If you turn this on, you should see error information when
you run your standalone and click in the field that contains the
mouseUp handler. Could you post that information here?
Economy-x-Talk Consulting and Software Engineering
Convert colours between different colour spaces with Color Converter.
Download at http://economy-x-talk.com/cc.html
Op 13-feb-2008, om 19:29 heeft Pierre het volgende geschreven:
> Hi Eric and Marc
> I tried to send a copy of my handlers but my mail is too big (22K
> instead of 15K allowed.
> I suppressed a few lines lines from the Handler in the Main Stack
> The "Calling Handler of the Substack is :
> --> all handlers
> on MouseUp ==> In the
> protected fld of the Substack
> put "Modification de '" & the short name of me & "' " &
> "Saisie. " into fld "Statut"
> answer "MouseUp du champ Montant"
> SaisieChamp The short name of me, the short name of this stack
> end MouseUp
> And the Handler in the Main Stack's script is :
> on SaisieChamp NomChamp, NomStack
> global GRéponseChoix
> answer "Script Stack Compta" & return & "NomChamp = " &
> NomChamp & return & "NomStack = " & NomStack ==> This doesn't
> work when in standalone
> get the CustomerProperties of fld NomChamp of Stack
> put it into Masque
> put word 3 of line 1 of Masque into NbEntiers
> put Word 3 of line 2 of Masque into TheType
> put Word 3 of line 3 of Masque into NbDécimales
> put Word 3 of line 5 of masque into LngCsie
> put Word 3 of Line 7 of Masque into AutorisationCsieLng
> if theType = "A" then
> CsieAlpha NomChamp, NomStack, LngCsie,
> put the result into Valeur
> end if
> if Valeur is not "Abandon" then
> put Valeur into fld NomChamp of Stack NomStack
> put empty into fld "Statut" of Stack NomStack
> end if
> end SaisieChamp
More information about the Use-livecode