![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a pop-up field, and I want to trigger a script automatically when the value has been selected; otherwise the user must click a button to take the action. If I set the field's button action it prevents the popup from showing. Is there a way to do this? Don |
#3
| |||
| |||
|
|
Don, you don't state version or platform so my answer is a bit vague. You need a plug in. Look at Callscript at costello_ryan.tripod.com EventScript by Softs4Humans zippScript of www.nightwing.com.au Ursus "Don" <reply.to.group (AT) saynotospam (DOT) com> schreef in bericht news:Y9CdnVXka8LEisXYnZ2dnUVZ_omdnZ2d (AT) comcast (DOT) com... I have a pop-up field, and I want to trigger a script automatically when the value has been selected; otherwise the user must click a button to take the action. If I set the field's button action it prevents the popup from showing. Is there a way to do this? Don |
#4
| |||
| |||
|
|
Don, you don't state version or platform so my answer is a bit vague. You need a plug in. Look at Callscript at costello_ryan.tripod.com EventScript by Softs4Humans zippScript of www.nightwing.com.au Ursus "Don" <reply.to.group (AT) saynotospam (DOT) com> schreef in bericht news:Y9CdnVXka8LEisXYnZ2dnUVZ_omdnZ2d (AT) comcast (DOT) com... I have a pop-up field, and I want to trigger a script automatically when the value has been selected; otherwise the user must click a button to take the action. If I set the field's button action it prevents the popup from showing. Is there a way to do this? Don |
#5
| |||
| |||
|
|
"Don" <reply.to.group (AT) saynotospam (DOT) com> schreef in bericht news:Y9CdnVXka8LEisXYnZ2dnUVZ_omdnZ2d (AT) comcast (DOT) com... I have a pop-up field, and I want to trigger a script automatically when the value has been selected; otherwise the user must click a button to take the action. If I set the field's button action it prevents the popup from showing. Is there a way to do this? you don't state version or platform so my answer is a bit vague. You need a plug in. Look at Callscript at costello_ryan.tripod.com EventScript by Softs4Humans zippScript of www.nightwing.com.au |
#6
| |||
| |||
|
|
In article <455842f0$0$96373$dbd4b001 (AT) news (DOT) wanadoo.nl>, "Ursus" <ursus.kirk (AT) wanadoo (DOT) nl> wrote: "Don" <reply.to.group (AT) saynotospam (DOT) com> schreef in bericht news:Y9CdnVXka8LEisXYnZ2dnUVZ_omdnZ2d (AT) comcast (DOT) com... I have a pop-up field, and I want to trigger a script automatically when the value has been selected; otherwise the user must click a button to take the action. If I set the field's button action it prevents the popup from showing. Is there a way to do this? you don't state version or platform so my answer is a bit vague. You need a plug in. Look at Callscript at costello_ryan.tripod.com EventScript by Softs4Humans zippScript of www.nightwing.com.au The other way is to simply leave the pop-up field alone and put a "Go" button next to it that runs the script, as many websites do. Helpful Harry Hopefully helping harassed humans happily handle handiwork hardships ;o) |
#7
| |||
| |||
|
|
"Helpful Harry" <helpful_harry (AT) nom (DOT) de.plume.com> wrote in message news:141120061245147520%helpful_harry (AT) nom (DOT) de.plume.com... In article <455842f0$0$96373$dbd4b001 (AT) news (DOT) wanadoo.nl>, "Ursus" <ursus.kirk (AT) wanadoo (DOT) nl> wrote: "Don" <reply.to.group (AT) saynotospam (DOT) com> schreef in bericht news:Y9CdnVXka8LEisXYnZ2dnUVZ_omdnZ2d (AT) comcast (DOT) com... I have a pop-up field, and I want to trigger a script automatically when the value has been selected; otherwise the user must click a button to take the action. If I set the field's button action it prevents the popup from showing. Is there a way to do this? you don't state version or platform so my answer is a bit vague. You need a plug in. Look at Callscript at costello_ryan.tripod.com EventScript by Softs4Humans zippScript of www.nightwing.com.au The other way is to simply leave the pop-up field alone and put a "Go" button next to it that runs the script, as many websites do. Helpful Harry Hopefully helping harassed humans happily handle handiwork hardships ;o) Yes, that is exactly what I have done so far. I'm using FM Pro 7, with a PC and a Mac (not sharing simultaneously, although it could go that way). It works, but I was hoping there was a more elegant way to do the job. I have downloaded EventScript but have not yet figured out how use it for this task. The selector is simply a pulldown list, and if I add a button action to the pulldown field it stops the pulldown action from working. I'm not sure where to integrate the EventScript call. I'll figure it out, eventually. Thanks for the help! Don |
#8
| |||
| |||
|
|
"Don" <reply.to.group (AT) saynotospam (DOT) com> schreef in bericht news:Y9CdnVXka8LEisXYnZ2dnUVZ_omdnZ2d (AT) comcast (DOT) com... I have a pop-up field, and I want to trigger a script automatically when the value has been selected; otherwise the user must click a button to take the action. If I set the field's button action it prevents the popup from showing. Is there a way to do this? "Ursus" <ursus.kirk (AT) wanadoo (DOT) nl> wrote |
|
Don With EvenScript. A valuelist <NavList A global <gNavigation A Script <Nav In NavList are the (short) descriptions of navigating action you want to take The gNavigation field is set to auto-enter, calculated value [S4HU_EventScript( Get ( FileName ); "NAV" ; gNav)] The field is put on a layout, display as popup-menu (NOT anything else), display values from NavList the Nav script contains something like this. The ScriptParameters are the same as the values as in your value list. If [ Get ( ScriptParameter ) = "Open pic" ] Open URL [ kerken::gMapopen ][ No dialog ] Else If [ Get ( ScriptParameter ) = "Foto Layout" ] Go to Layout [ "Foto" ] Perform Script [ "To Tab"; Parameter: Let ( $$_active_tab = 1 ; 1 ) ] Else If [ Get ( ScriptParameter ) = "Streets" ] Perform Script [ "Open City Map" ] Else If [ Get ( ScriptParameter ) = "Books" ] Go to Layout [ "Books" (Books) ] End If That should give you enough to work with. Ursus |
![]() |
| Thread Tools | |
| Display Modes | |
| |