September 2, 201015 yr Hi all I have used a technique that Mr.Vodka documents to capture mouse button presses outside of field boxes. I have used an empty web viewer to do this. The idea is to stop filemaker from auto-saving the field contents that have been modified. All works well to an extent. I have anchored the web viewer so that it auto resizes when the window is resized. The problem I am having is that when a click is performed at the bottom of the screen when the window has been resized vertically larger than its default setting, the click is not captured by the web viewer and field contents are auto-saved. However this is not the case horizontally?? I have checked that the web-viewer is auto-resizing correctly by using a fill colour that differs from the background colour and everything seems to resize acordingly. Does anyone have any ideas as to why this is happening? Thanks in advance Lee
September 2, 201015 yr Author Thanks I should mention that this problem only occurs on the MAC. Windows does not allow me to stretch the window larger than the size it was developed. Could I PM the file? Lee Edited September 2, 201015 yr by Guest
September 2, 201015 yr I cannot reproduce the problem (on a Mac). If you can do so in a new file, please attach it here.
September 2, 201015 yr Author Ok I have took the bulk out of the database as the file is extremely large. I have left functionality in adding, editing and viewing Artwork Types. The web viewer has only been applied to add and edit. One web viewer is filled red to make it visible. The issue is that everything is scripted and adding or editing records needs to be submitted by pressing a submit button. One of the validation checks is to test for uniqueness using a count on a self-join. If the web viewer does not capture a mouse button press outside of fields or buttons, the record is auto-saved, hence, the uniqueness test fails. When the window is stretched, the bottom of the web viewer does not capture the mouse click even though it is visibly auto-resizing. This only seems to be the case on the mac. Thanks for your time Lee MayaGalleryFMForum.zip
September 2, 201015 yr To clarify: grouping the two web viewers places the entire grouped object in the header. "Hanging" objects from the header into other parts is an old trick, but it is not a supported feature and it has its quirks.
September 2, 201015 yr Author That's done the trick. A little of topic but which key do I hold down to resize objects with the mouse one pixel at a time? And how do I set header size in pixels without dragging the part tab. Thanks again Lee
September 2, 201015 yr On a Mac, it's the Command key. To set a part size, select it (by clicking on its tab), then enter some numbers into the Position tab of the Inspector. Not sure why you need a header in a form layout, though.
Create an account or sign in to comment