|
Your continued generosity and support of FMForums is greatly appreciated. |
Tim W
Searching.....
Posts: 205

Loc: Alabama USA
Post Rank (AVG):
FMP: 10 Advanced OS: Windows XP
Member: TechNet Skill: Advance
Tweet This Post!
|
I am using v.4 on windows xp sp3 and experiencing a screen redraw twice during the execution of my scriptmaster function. Is there a way to avoid the screen redraws?
Thanks,
Tim
p.s. I have this same issue if registering the function in my startup script or running the function from the sample file.
| Golden Rule:: He who has the Gold makes ALL the RULES! I guess that makes me a follower. |
|
360Works offers a complete line of FileMaker plugins and add-ons targeted at FileMaker developers. |
Jesse Barnum
journeyman
Posts: 274

Loc: Atlanta, GA
Post Rank (AVG):
FMP: 11 Advanced OS: Mac OS X Snow Leopard
Member: TechNet, FBA, Platinum Skill: Expert
Certified:
FMPug
Tweet This Post!
|
In response to Tim W
If it's a GUI function, the redraw is unavoidable. If it does interact with the user at all (no GUI needed), uncheck the gui function box and that will get rid of the redraw. Test this on a copy of your real file though, because if you uncheck it and your function tries to do a GUI operation, FileMaker will hang.
|
Tim W
Searching.....
Posts: 205

Loc: Alabama USA
Post Rank (AVG):
FMP: 10 Advanced OS: Windows XP
Member: TechNet Skill: Advance
Tweet This Post!
|
In response to Jesse Barnum
Thanks Jesse,
Not the best news, but I can live with it. In the Popup Menu (one of the GUI functions in question), I cannot seem to get the part which needs to be set to change the background color of the dialog. Is it the JDialog? or should I address the object itself? or do I need to look at modifying the method? Just a direction would help alot. I'm trying to learn groovy, but java seems to be getting in the way. This module seems to be pure java, ;'s and all.
Thanks again,
Tim
| Golden Rule:: He who has the Gold makes ALL the RULES! I guess that makes me a follower. |
|
Jesse Barnum
journeyman
Posts: 274

Loc: Atlanta, GA
Post Rank (AVG):
FMP: 11 Advanced OS: Mac OS X Snow Leopard
Member: TechNet, FBA, Platinum Skill: Expert
Certified:
FMPug
Tweet This Post!
|
In response to Tim W
Hi Tim - I don't know the answer offhand. If you'd like for us to research the answer to this, let us know and we can get an estimate for doing this.
|
|
Your continued generosity and support of FMForums is greatly appreciated. |
Tim W
Searching.....
Posts: 205

Loc: Alabama USA
Post Rank (AVG):
FMP: 10 Advanced OS: Windows XP
Member: TechNet Skill: Advance
Tweet This Post!
|
In response to Jesse Barnum
Hi Jesse,
Thanks for the offer. I am trying to learn to fish, ("Give a man a fish... feed him once, teach him to fish... feed him for a lifetime") so I guess I must push on researching for myself. Thanks for the great tool "Scriptmaster", it has and continues to make the learning easier.
Tim
| Golden Rule:: He who has the Gold makes ALL the RULES! I guess that makes me a follower. |
|
360Works offers a complete line of FileMaker plugins and add-ons targeted at FileMaker developers. |