Re: How to resize PNG images for button icons

2016-10-11 Thread Kirk Brooks
Thanks Miyako. I came across that too. I was laboring under the impression from a few years ago that picture buttons were being phased out but they work great. On Tue, Oct 11, 2016 at 6:59 PM, Keisuke Miyako wrote: > you could use picture buttons, but other than that, > you need to embed that PN

Re: How to resize PNG images for button icons

2016-10-11 Thread Keisuke Miyako
you could use picture buttons, but other than that, you need to embed that PNG in an SVG, to define a width and height that is much shorter than its real width and size. > 2016/10/12 10:29、Kirk Brooks のメール: > Is there a way I can cause the PNG to resize without either loading the > image into a v

How to resize PNG images for button icons

2016-10-11 Thread Kirk Brooks
I have a cool set of PNG icons drawn at 512 x512 px. If I drop them onto a form they look great and resize perfectly. If I include one in a button ( source = file; Images/png/cancel-button.png) they are inserted at full size which doesn't work very well. Is there a way I can cause the PNG to resiz

Re: Data Dictionary to Structure via XML ?

2016-10-11 Thread Keisuke Miyako
there is really nothing special about the UUID, you can add tables and fields via the clipboard or the new IMPORT STRUCTURE command. it's actually better to use the command, not the pasteboard, because that way you can define relations and index settings too. either way, a new UUID is generated

Data Dictionary to Structure via XML ?

2016-10-11 Thread Peter Jakobsson
Hi I tried to write some code to convert 2 columns of data dictionary (“Fieldname” “Fieldtype” definitions) from iWork’s “Numbers” spreadsheet straight to a 4D structure but unfortunately it doesn’t work. The code simply captures a piece of text from the clipboard and reformats it in 4D’s XML f

Re: Listbox cell - On Data Change - how to tell old and new values?

2016-10-11 Thread Douglas von Roeder
On Tue, Oct 11, 2016 at 1:34 PM, Keith Goebel wrote: > I can maybe fudge something using the On Losing Focus event or pre-storing > existing values in arrays but, before I spend time trying to find a > work-around, I am curious how others out there are handling this? Keith: I checked the docs

Re: Listbox cell - On Data Change - how to tell old and new values?

2016-10-11 Thread Chip Scheide
I handle it this way: Start transaction open entry form user does stuff if user accepts validate transaction else cancel transaction no need to worry about old vs new values :) On Wed, 12 Oct 2016 09:34:14 +1300, Keith Goebel wrote: > Hi all. > Using 4D v15.2 and given a selection based listbox

Re: Resize snapshot

2016-10-11 Thread Peter Mew
I should have added Im using v13.6, Mac Yosemite Is this still the case Thanks -pm On Tue, Oct 11, 2016 at 5:24 PM, Vincent de Lachaux < vincent.delach...@4d.com> wrote: > Yes, if you open the window with a * as last parameter and you check the > property "Save geometry" for the form. > > Doc "

Re: Resize snapshot

2016-10-11 Thread Peter Mew
Hi Vincent Thank you very much, I shall give that a try -pm On Tue, Oct 11, 2016 at 5:24 PM, Vincent de Lachaux < vincent.delach...@4d.com> wrote: > Yes, if you open the window with a * as last parameter and you check the > property "Save geometry" for the form. > > Doc "When the Save Geometry

Listbox cell - On Data Change - how to tell old and new values?

2016-10-11 Thread Keith Goebel
Hi all. Using 4D v15.2 and given a selection based listbox where the master table is in read write mode and the columns are enterable: - column object code triggers for On Data Change event - in that object code I want to compare the entered field value against the Old field value. Problem = for

Form events warning for selection based listbox

2016-10-11 Thread Keith Goebel
Hi all. This is just a headzup for those using selection based list boxes. If this was covered in 4D docs, I missed it. For a listbox column in early 4D v13 and before, when you set the object properties, only the event(s) you selected would trigger. For single event objects, I got into the habit

Re: Many to Many Join Input Form

2016-10-11 Thread Kirk Brooks
Paul, This is a problem that really is about the UI more than the mechanics of how the data are connected. What makes it difficult is that the 'best' way to look at it really depends on your point of view at the moment. If you are working in the company record you need to be able to select from the

Re: Many to Many Join Input Form

2016-10-11 Thread Keith Culotta
This may help if I understand the question: https://www.dropbox.com/s/qwnnekzp4uzd1h1/ManyToMany.png?dl=0 I've used a link-table to store the attributes of the relationship between records in the two tables (eg, Position). The Company entry form would look similar, with [Person]Name as column 2

Re: 4Dv11 & Microsoft Server 2016

2016-10-11 Thread pk paul
​ On 11 October 2016 at 15:07, Chip Scheide <4d_o...@pghrepository.org> wrote: > TLDR; > 4D Server does NOT need a server OS to run. > > a Mac Mini runs 4D server just fine :) > A lot will depend on the needs of the database. agreed. i wrote to much and hijacked the original question. Sorry, ne

4D v12.5 and Mac Sierra

2016-10-11 Thread Ken Eyring
Is anyone running 4D Client/Server v12.5 on Mac Sierra? If so, are there any issues that you are aware of? Thanks, Ken ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/a

Re: 4Dv11 & Microsoft Server 2016

2016-10-11 Thread Chip Scheide
TLDR; 4D Server does NOT need a server OS to run. a Mac Mini runs 4D server just fine :) A lot will depend on the needs of the database. On Tue, 11 Oct 2016 14:15:07 -0300, pk paul wrote: >>> would run without issue on Windows 10 clients… and >>> Windows Server 2016 for several months during thi

Re: Many to Many Join Input Form

2016-10-11 Thread Chip Scheide
in the form method :(form event = on Load) or if you have a tab control, in the code for managing the change of the tab page you would put some code like this : relate many([Parent_table]parent_Key) or Query([Child_table];[Child_table]Parent_key=[Parent_table]parent_Key) see Relate Many comman

Re: 4Dv11 & Microsoft Server 2016

2016-10-11 Thread pk paul
>Is there any chance that v11 would run without issue on Windows 10 clients… >and Windows Server 2016 for several months during this re-write? My question is the same as the original poster and a curiosity of what others are using due to the change of the landscape of windows server and workstatio

RE: 4Dv11 & Microsoft Server 2016

2016-10-11 Thread Timothy Penner
Hi Paul, > according to the documentation v15 server requires > (Windows Server 2008R2 or above for 4D Server)​ Just to be clear, the certification for v15.2 does not say "or above" in fact it does not list "Server 2016" at all (because it did not exist and was not tested). As for certified

Re: 4Dv11 & Microsoft Server 2016

2016-10-11 Thread Jeffrey Kain
What's your question? > On Oct 11, 2016, at 1:15 PM, pk paul wrote: > ... a lot of stuff ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://list

Re: Many to Many Join Input Form

2016-10-11 Thread pk paul
​> The join table is working properly, however, I am having a difficult time > getting the Input forms to work properly, or, maybe a better way to put it, > in a way that is more intuitive for an average user. It works, but, it does > not "feel" good or coherent. @Keith Hello Keith, thank you for

Re: 4Dv11 & Microsoft Server 2016

2016-10-11 Thread pk paul
>> would run without issue on Windows 10 clients… and >> Windows Server 2016 for several months during this re-write? ​I am curious about this too. according to the documentation v15 server requires (Windows Server 2008R2 or above for 4D Server)​ Generally the Windows server line is desinged f

Re: Resize snapshot

2016-10-11 Thread Vincent de Lachaux
Yes, if you open the window with a * as last parameter and you check the property "Save geometry" for the form. Doc "When the Save Geometry option is checked, if the window is opened using the Open form window command with the * parameter, several form parameters are automatically saved by 4D

Resize snapshot

2016-10-11 Thread Peter Mew
Hi If a user resizes a form, is there a command that will take a snapshot of the new object sizes and positions, so that the form can be reinstated with the new sizes and positions, at a later date. Thanks -pm Sent from my iPad

Re: 4Dv11 & Microsoft Server 2016

2016-10-11 Thread Robert McKeever
While I don’t know about Windows Server 2016, I maintain V11 copies of our database under Windows 10. Running is fine. Occasional quit when editing, but nothing like the Mac 10.11.x. > On Oct 10, 2016, at 10:50 PM, Robert ListMail wrote: > > I have a client that wants to re-write a v11-based s

Is there a 4D View User Manual?

2016-10-11 Thread Bill Weale
For v 14 or something close? Bill William W. Weale Business Owners Support, LLC. Operations Analysis MIS Advising Decision Support Systems ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive:

Multi-styled text and 4D Write

2016-10-11 Thread Costas Manousakis
Hello, Given a multi-styled text stored in a text variable, how does one insert it in a 4D Write offscreen area? The WR insert styled text command expects a blob created from 4DWrite. Wr Insert RTF expression does not seem to be compatible with the ‘format’ of the multi-styled text variable. D