Re: Listbox Spacing Between Columns

2017-09-23 Thread John Baughman via 4D_Tech
This may not work for your situation, but I have used a dummy column to provide visual spacing between columns. Not a great solution but it has worked well enough for me in the past. John > On Sep 23, 2017, at 5:10 PM, Sannyasin Siddhanathaswami via 4D_Tech > <4d_tech@lists.4d.com> wrote: >

Re: Listbox Spacing Between Columns

2017-09-25 Thread John Baughman via 4D_Tech
I too made the switch a year or so ago. For me it was relatively easy as, is my habit, I wrapped nearly all the AeaList commands and so only had to modify my wrapping methods to make the switch. I have not looked back and to date have not found anything I could do with AreaList that I could not

Re: Is it possible to put a SVG file directly on a form?

2017-09-25 Thread John Baughman via 4D_Tech
The only way to display the SVG in a form that I know of is in a picture variable or field. Using SVG_Export_To_picture, store the SVG in a picture field or variable and display it on the form. I store the SVG in a field. On a form I retrieve the SVG from the picture field with SVG_Open_pictu

Re: Canvas alternative

2017-09-29 Thread John Baughman via 4D_Tech
I moved a medical office scheduling dialog I had rolled myself to Canvas a while back and have been very happy with it. I was especially glad I had made the move recently when I had to change appointment minimum times from 15 mins to 10 mins. All I had to do was change a variable. Curious as to

Re: No longer able to get to user / design mode

2017-10-01 Thread John Baughman via 4D_Tech
Michael, Thanks for asking the question. For some reason I was using Control+Option+Command+right click for Mac OS. After reading your post and Mayako’s response I too thought senior moment. Then I tested further… Control+Option+Command+right click - works Option+Command+right click - w

Re: Canvas alternative

2017-10-02 Thread John Baughman via 4D_Tech
version 2 we are open to the idea of > trying something else. > > Drew > > -Original Message- > From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of John > Baughman via 4D_Tech > Sent: Friday, September 29, 2017 3:35 PM > To: 4D iNug Technical > Cc: J

Re: Canvas alternative

2017-10-02 Thread John Baughman via 4D_Tech
ut can you add the same options to your SVG objects as you can with > Canvas? Events, callbacks, resizing controls, etc. > > Pat > > On 2 October 2017 at 21:15, John Baughman via 4D_Tech <4d_tech@lists.4d.com> > wrote: > >> Drew, >> >>Ahh yes.

Re: 4D Client as Web Server - How to monitor

2017-10-04 Thread John Baughman via 4D_Tech
At first I thought, hey an excellent place for Call Worker or Call Form. Then after thinking it though decided that would be more complicated then needed. If it were me, I would put an object field in a table, in my case my constants table, and pass the status in that field. Using this field th

Re: 4D v16.2 false record locks

2017-10-04 Thread John Baughman via 4D_Tech
I am going to chime in here with a recent real world experience. A while back I posted to the NUG a problem that I was having with external data storage using custom mode. When the data was updated and properly saved to the external data folder, the field continued to display the old version of

Re: How do workers die?

2017-10-06 Thread John Baughman via 4D_Tech
On Oct 5, 2017, at 11:06 PM, David Adams via 4D_Tech <4d_tech@lists.4d.com> wrote: > > * New process () / Execute on server () When they finish, they're dead. > They're supposed to release file locks, record locks, etc. If you start a > new copy of the process with the same name, it starts off in

Re: 4D v16.2 false record locks

2017-10-06 Thread John Baughman via 4D_Tech
> On Oct 6, 2017, at 6:24 AM, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I do this: > <>Doc_Ref:=Open Document Great idea. That is unless you think global variables are evil ;-) As any one working in 4D for any length of time knows, you have to close a document as soon as p

Re: 4D v16.2 false record locks

2017-10-06 Thread John Baughman via 4D_Tech
Hi David, How/when are you killing the worker. You must give the worker time to close the file. This will not work… CALL WORKER(“worker”;”LogSomething”) //worker opens the file/logs something to the file/closes the file KILL WORKER(“worker”) The worker will be killed before it c

Re: 4D v16.2 false record locks

2017-10-06 Thread John Baughman via 4D_Tech
OOOPS! In my last example with the worker killing itself there should only be one line… CALL WORKER(“worker”;”LogSomething”) //worker opens the file/logs something to the file/closes the file/Kills itself Don’t need to kill the process again. John > On Oct 6, 2017, at 12:32 PM, John Baughman

Query By Attribute vs Map NULL values to blank values

2017-10-07 Thread John Baughman via 4D_Tech
The documentation for Query by Attribute discusses at length how a # query performs with or without the Map NULL values to blank values checked. I do not see this checkbox in the field Explorer window for an Object field. Am I missing something here? It is there for other types of fields but no

Re: Making LOG EVENT thread-safe

2017-10-08 Thread John Baughman via 4D_Tech
> On Oct 8, 2017, at 4:08 AM, David Adams via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I've posted about my various worker log problems here and on some other > threads and even posted my sample database for review. Lately, John > Baughman has really been sinking his teeth into this issue an

Re: Making LOG EVENT thread-safe

2017-10-08 Thread John Baughman via 4D_Tech
> On Oct 8, 2017, at 4:42 PM, David Adams via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > What I'm concerned about is that CLOSE DOCUMENT may be > returning without the file *actually* being closed. That's really > problematic. I understand your thinking that 4D may not the way to go for event

Re: Making LOG EVENT thread-safe

2017-10-08 Thread John Baughman via 4D_Tech
> Once it happens, you get all kinds of weird stuff - > duplicate workers with "unique" names, the runtime monitor gets super buggy > and starts throwing range errors...until you're dead. If you *don't* find > this result on your gear, please post what version of 4D you're testing > with. Yes I ha

Re: Making LOG EVENT thread-safe

2017-10-08 Thread John Baughman via 4D_Tech
> On Oct 8, 2017, at 5:53 PM, David Adams via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Oh, I forgot to say earlier about John's finding of ~2.1M messages being a > kind of breaking point...that number may not be replicable in other tests. > You might find a different number. The payloads in m

Re: Query By Attribute vs Map NULL values to blank values

2017-10-09 Thread John Baughman via 4D_Tech
Keisuke, No sure I understand your response. I am working in R4 and was trying to query on an object field and thought I could leave the field undefined using Query By Attribute. Not so, but I am content with initializing all the records with an object so the the query works wi

Re: Deprecated Constants

2017-10-10 Thread John Baughman via 4D_Tech
By coincidence, I am cleaning up a v14 database for deployment this afternoon as a v16 R4 database. A couple of thoughts on your question… > _o_Extras Folder The extras folder was deprecated in v11 I think with instructions to use the Resource folder. > The other 9 entries relate to Li

Re: Making LOG EVENT thread-safe

2017-10-11 Thread John Baughman via 4D_Tech
Got an email from Timothy Penner yesterday pointing out that in his testing of this issue he has concluded that the crash occurs because 4D is being pushed past it’s memory limits. That is if run using the 32bit version of 4D. Tim suggested that we run the test using the 64 bit version of 4D. R

Re: Making LOG EVENT thread-safe

2017-10-11 Thread John Baughman via 4D_Tech
One thing I forgot to mention/ask… David’s test routine runs significantly faster with 32-bit 4D than it does with 64-bit 4D. Any ideas as to why this might be the case? To refresh memories as to what the test is doing… For ($1;1;10) $prsNum:=New Process(“TestProcess”.0;”TestProcess”) end

Re: 4D v16.2 false record locks

2017-10-15 Thread John Baughman via 4D_Tech
t;> On Oct 11, 2017, at 11:09 PM, Alan Tilson via 4D_Tech <4d_tech@lists.4d.com> >> wrote: >> >> Hey John, >> How did you end up in Hawaii? >> Alan >> >> On Wed, Oct 4, 2017 at 10:02 PM, John Baughman via 4D_Tech < >> 4d_tech@lists.4d.com> w

Anyone using 4D Write Pro with a semblance of success?

2017-10-15 Thread John Baughman via 4D_Tech
I am trying to set an image to the background. No matter what I do the image vertical size depends on how many lines I have on the page. Using both the contextual menu and the widget, I have set the Horizontal and Vertical sizes in points. but if the number of lines is anything less than enough

Re: Anyone using 4D Write Pro with a semblance of success?

2017-10-16 Thread John Baughman via 4D_Tech
Thanks Jim. I will take a look at the component. It looks interesting. I was aware if the blog entry, but my point in that regard is why. It’s great that the developer can create their own user interface, but shouldn’t 4D Write Pro have a built in user interface? At least that is what I expected

Re: Anyone using 4D Write Pro with a semblance of success?

2017-10-16 Thread John Baughman via 4D_Tech
Tim… +1 for everything you said. > The current environment will allow 4D Write plugin and 4D Write Pro to > coexist. You can migrate slowly and as needed. What I have done is add a page to their correspondence form where I can experiment with 4D Write Pro. A radio button, 4D Write/4D Write P

64-bit Client Server on Windows question

2017-10-18 Thread John Baughman via 4D_Tech
Hope this is not a dumb question… I am just dabbling with 64-bit 4D without any understanding about what needs to be done to deploy a database with 64-bit 4d. I do most of my development on a mac and deploy as required to mac and windows. I have a rather simple database born 32-bit on a mac and

PDF in Web Area not displaying on a Mac

2017-10-18 Thread John Baughman via 4D_Tech
I have a Web Area on a form that works fine when run on a windows machine but not on a mac. I am using the following code on load of the form… If (Test path name([Document]File_Path)=Is a document) $posixPath:=Convert path system to POSIX([Document]File_Path)

Re: 64-bit Client Server on Windows question

2017-10-18 Thread John Baughman via 4D_Tech
Thanks Tim.. right on. If I turn on the network layer I can log into the server with the 64-bit client. OK then… Now the 4D Web Area that I asked a question about in a different post to the NUG, no longer uses the Adobe Reader plug-in. It opens in a separate window in adobe reader. The Web Area

Re: PDF in Web Area not displaying on a Mac

2017-10-18 Thread John Baughman via 4D_Tech
t; Windows: file:///C:/MyFolder/My%20File.html > macOS: file:///MyFolder/My%20File.html > > in addition, the Convert path system to POSIX has a * option for percent > encoding. > >> 2017/10/19 6:22、John Baughman via 4D_Tech <4d_tech@lists.4d.com

Re: PDF in Web Area not displaying on a Mac

2017-10-18 Thread John Baughman via 4D_Tech
url variable. > >> 2017/10/19 8:22、John Baughman via 4D_Tech <4d_tech@lists.4d.com> のメール: >> Is there something I am missing in your response as to why the pdfs do not >> display on the Mac? > > > > >

Re: PDF in Web Area not displaying on a Mac

2017-10-18 Thread John Baughman via 4D_Tech
url variable as its data source, >> run it, >> drag and drop a file to the web area, >> and check what is displayed in the url variable. >> >>> 2017/10/19 8:22、John Baughman via 4D_Tech <4d_tech@lists.4d.com> のメール

Re: PDF in Web Area not displaying on a Mac

2017-10-18 Thread John Baughman via 4D_Tech
> wrote: > > >> On Oct 18, 2017, at 6:22 PM, John Baughman via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >> >> There is nothing in the path names that require encoding ie.. WA OPEN >> URL(waDocument;"file://"+$posixPath) and WA OPEN >

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread John Baughman via 4D_Tech
I just checked and on my mac I did not have the adobe plug-in in the User’s library folder but it was in the System Library folder. I removed it from the system library folder and the 4D Web Area still does not display a pdf. Also tried putting it in the Users library to no avail. > On Oct 18

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread John Baughman via 4D_Tech
r an assignment >> to the URL variable associated to the area). > > source > > http://doc.4d.com/4Dv16R4/4D/16-R4/Web-areas.300-3330400.en.html#3199104 > > I know your situation doesn't quite match that of the documentation, but > worth a shot... > >>

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread John Baughman via 4D_Tech
R4 > On Oct 18, 2017, at 10:33 PM, Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Which version of 4D? > > On Thu, 19 Oct 2017 at 7:28 pm, John Baughman via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> Not running 64-bit so I don’t

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread John Baughman via 4D_Tech
ech <4d_tech@lists.4d.com> > wrote: > > That’s disappointing > > Which version of 4D? > > Is integrated web kit ticked? > > I had a similar issue but don’t remember what fixed it. > > > On Thu, 19 Oct 2017 at 7:11 pm, John Baughman via 4D_Tech < > 4d_te

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread John Baughman via 4D_Tech
I think the problem may be High Sierra. Enabling the Adobe PDF viewer in Safari High Sierra > On Oct 18, 2017, at 10:46 PM, Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Try updating Adobe > > > On Thu, 19 Oct 2017 at 7:43 pm, John Baughman via 4D_Te

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread John Baughman via 4D_Tech
David, I hear you. I am being a bit stubborn just because it should be working, it isn’t, and I want it to. This is being deployed on windows and it is working just fine there. So no need to buy anything, but it’s annoying that it does not work on the Mac. I think I am going to call TS and if

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread John Baughman via 4D_Tech
Oops did not finish a sentence… The process to enable AdobePDFViewer in Higfh Sierra appears to have changed a bit. Maybe it changed earlier, but I did not notice. > On Oct 18, 2017, at 11:13 PM, John Baughman via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > > I think th

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread John Baughman via 4D_Tech
Ortwin. I tried with both in, both out, one or the other in and out and the Web Area still refuses to display the PDF. The area remains blank. To all who have tried to help in this regard… I will have to put this aside for now. Probably make a call to Tech Support just to see if perhaps it ne

Re: Server Process "Frozen"-ish

2017-10-25 Thread John Baughman via 4D_Tech
> On Oct 25, 2017, at 6:55 AM, Tim Nevels via 4D_Tech <4d_tech@lists.4d.com> > wrote: > >> Anyway, I'm wondering if the problem is when either Tickcount, Milliseconds >> or another internal 4D time measure overflows into negative territory. I >> have no idea internally what measure 4D uses f

Re: Tab bar in methods

2017-10-26 Thread John Baughman via 4D_Tech
Aloha David, You must be running 64-bit on MacOS Sierra or better… "Thanks to macOS Sierra, applications now have to opportunity to use tabbed windows instead of multiple windows. From 4D v16 R3, 4D Developer Edition 64-bit can take advantage of this Apple’s new feature

Re: find only partial strings

2017-10-27 Thread John Baughman via 4D_Tech
If Seg falls after a Segment the $location will be incorrect. I think should be something like… $New_Text:=replace string($Source;"Segment";”S$gment") $Location:=Position("Seg";$New_Text) > On Oct 27, 2017, at 9:27 AM, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > $New_Text:=re

ListBox locked record vs automatic one to many

2017-10-27 Thread John Baughman via 4D_Tech
This is v16 R4 with Foundation Shell 5. Using a selection or named selection based list box in an input form to display records from a many table with automatic one to many set, the first record in the list box is always locked by the output form. Problem goes away if the relationship is set to

Re: ListBox locked record vs automatic one to many

2017-10-27 Thread John Baughman via 4D_Tech
***I go to a different form with a previous*** Should have read… ***I go to a different record with a previous*** > On Oct 27, 2017, at 3:11 PM, John Baughman via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > This is v16 R4 with Foundation Shell 5. Using a selection or named

Re: [Warning] Settings properties values on object field by object notation

2017-10-30 Thread John Baughman via 4D_Tech
I went through the same thing with TS. Tim will probably chime in. The problem is that the dirty flag is not set when dot notation is used against an object field. In your scenario the following will work… OB SET ([Table1]Object;”value”;b_value) //this will set the record dirty. And, yes, I to

Re: [Warning] Settings properties values on object field by object notation

2017-10-31 Thread John Baughman via 4D_Tech
> On Oct 31, 2017, at 1:53 AM, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > field modified = field modified --right?!?! You bring up a very interesting point. I thought the answer was No it did not have to be modified. but after testing I discovered, however, that while y

Re: [Warning] Settings properties values on object field by object notation

2017-10-31 Thread John Baughman via 4D_Tech
I am going to post here a response I got from Tim Penner in the TAOW a bit earlier today. While it does not change my mind that this issue should be characterized as a bug, it does clarify what the issue really is. Am I the only one that was clueless that there is a field dirty field flag that

Re: [Warning] Settings properties values on object field by object notation

2017-10-31 Thread John Baughman via 4D_Tech
> On Oct 31, 2017, at 3:17 PM, Keisuke Miyako via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > to explicitly indicate that the object has been modified, just use the line > > [myTable]myObjectField:=[myTable]myObjectField > > and you have total control of when to save the field, > which result

Re: [Warning] Settings properties values on object field by object notation

2017-11-01 Thread John Baughman via 4D_Tech
Ok, OK. Feature request sent… —— Currently an object field's dirty flag only gets set if the object field itself is referenced... OB SET([MyTable]MyObjectField;"property";"newValue") SAVE RECORD[MyTable] //The field's dirty flag is set and the new value is saved. MyTable]MyObjectField.p

Normalization question

2017-11-08 Thread John Baughman via 4D_Tech
Given a Project table and an Employee table where Employees can be Project Principles, Project Managers, and Project Supervisors, what would be the proper way to create a normalized table structure in 4D. In the end an assigned employee’s information, like name for example, would automatically b

Re: Normalization question

2017-11-08 Thread John Baughman via 4D_Tech
ahead to reports where automatic one relationships are much easier to manage. > On Nov 8, 2017, at 10:20 AM, Keith Culotta via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > [Project]<--[ProjectEmployeeType]--> [Employee] ? > > Keith - CDI > >> On Nov

Re: Normalization question

2017-11-08 Thread John Baughman via 4D_Tech
On Nov 8, 2017, at 10:06 AM, John Baughman via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Given a Project table and an Employee table where Employees can be Project > Principles, Project Managers, and Project Supervisors, what would be the > proper way to create a normaliz

Re: Normalization question

2017-11-08 Thread John Baughman via 4D_Tech
Of course. If, however, you go down that rabbit hole with your eyes open… Take for example using Employee_Number as I mentioned. If business rules do not allow deletion or changing of this field once it is created, then I see no problem using it as a relational key. For an Employee Number this u

zero based collections

2017-11-10 Thread John Baughman via 4D_Tech
Now that we are diving head first into c_objects and whatever more that brings to 4D, we must join the rest of the programming world and work with zero based collections such as C_COLLECTION. I work in many other languages so do not have any problem handling zero based collections, but am conte

Debug window messed up

2017-11-12 Thread John Baughman via 4D_Tech
I am suddenly not being able to see the lower pane in the Debug window. Both Expression panes go to the bottom of the window and are cut off. Any idea how to fix it? Thanks, John John Baughman Kailua, Hawaii (808) 262-0328 john...@hawaii.rr.com ***

Re: Debug window messed up

2017-11-12 Thread John Baughman via 4D_Tech
v13.4DPreferences file... Macintosh HD:Users:johnbdh2:Library:Application Support:4D:4D Preferences v13.4DPreferences Hope that helps someone else down the road. Thanks again to Stephen for the help. John > On Nov 12, 2017, at 4:47 PM, John Baughman via 4D_Tech <4d_tech@lists.

Re: Debug window messed up

2017-11-13 Thread John Baughman via 4D_Tech
reDialog"+Folder separator+\ > "[projectForm]"+Folder separator+\ > "4ddebugger.json" > > If (Test path name($path)=Is a document) > > DELETE DOCUMENT($path

Re: Debug window messed up

2017-11-13 Thread John Baughman via 4D_Tech
// >>//4D V14 & V15 >>// >>// >>// >> ---- >> >> $path:=Get 4D folder(

Re: Debug window messed up

2017-11-13 Thread John Baughman via 4D_Tech
I thought there might be something like that. Before posing my question I tried the control key, option key, command key. Did NOT try the shift key. Good to know, but I bet I will forget how the next time it happens to me. ;-) Thanks, John > On Nov 13, 2017, at 6:55 AM, Vincent de Lachaux via

Re: Debug window messed up

2017-11-14 Thread John Baughman via 4D_Tech
If you do it with a method with a break point or TRACE, the method window preferences are reset as well. When I tried this method I lost all of my color settings for Method windows. Pain in the butt resetting them back. Not good. John > On Nov 13, 2017, at 10:37 PM, Vincent de Lachaux via 4D_

Can't start a Transaction

2017-11-14 Thread John Baughman via 4D_Tech
I have button on an input form I am using for testing purposes that runs… Case of : (Form event=On Clicked) & (Not(In transaction)) START TRANSACTION End case But the transaction never starts. What’s up with that? Thanks, John John Baughman Kailua, Hawaii (808) 262-0

Re: Can't start a Transaction

2017-11-14 Thread John Baughman via 4D_Tech
Forgot to see this is v16 R4 on OS-10 High Sierra > On Nov 14, 2017, at 11:53 AM, John Baughman wrote: > > I have button on an input form I am using for testing purposes that runs… > > > Case of > : (Form event=On Clicked) & (Not(In transaction)) > START TRANSACTION > End

Re: Can't start a Transaction

2017-11-14 Thread John Baughman via 4D_Tech
o see if the event > fires > > Regards > Chuck > > On Tue, Nov 14, 2017 at 4:53 PM, John Baughman via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> I have button on an input form I am using for testing purposes that runs… >> >> >> Case of >

Re: Can't start a Transaction - never mind

2017-11-14 Thread John Baughman via 4D_Tech
; you know it has not started. Have you put trace there to see if the event > fires > > Regards > Chuck > > On Tue, Nov 14, 2017 at 4:53 PM, John Baughman via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> I have button on an input form I am using for testing purpo

Re: [BLOG] Something new in my Blog : Exporting Listboxes the easy and powerful way

2017-11-15 Thread John Baughman via 4D_Tech
Alex, Thanks. I downloaded your component and look forward to giving it a try. Can you or someone else give me some instructions on how to download Keisuke’s XLS II plugin from GitHub. GItHub has always been a mystery to me. Probably why I never use it. What do I click to get th

List box edit questions

2017-11-23 Thread John Baughman via 4D_Tech
Trying to make a list box editable without any success. On the form the array based list box contains 1 column. The list box has the single-click edit property checked. The llist box method contains… Case of : (Form event=On Before Data Entry) $columnPtr:=LISTBOX GET CELL

Re: List box edit questions

2017-11-23 Thread John Baughman via 4D_Tech
ble checkbox on > the cells column. > > > > Hope this helps > > > > Regards > > > > Jocelyn > > On Fri, Nov 24, 2017 at 8:43 AM, John Baughman via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> Trying to make a list box editable

Re: List box edit questions

2017-11-23 Thread John Baughman via 4D_Tech
he Entry theme that the focusable >> check box is ticked. Then you can see and then click enterable checkbox on >> the cells column. >> >> >> >> Hope this helps >> >> >> >> Regards >> >> >> >> Jocelyn

Defining variables in R5

2017-11-24 Thread John Baughman via 4D_Tech
Yesterday I found myself in need o dynamic Help Tips in list box cell cells, so I downloaded and started working with v16R5 beta. The first thing that happened is I started getting undefined errors. I think that unlike forever in 4D, variables not defined either explicitly or implicitly, must be

Re: Defining variables in R5

2017-11-24 Thread John Baughman via 4D_Tech
With regard to the issue I mentioned about defining object fields, I just did another field and it worked fine. Must have been something else going on with the empty data file. John > On Nov 24, 2017, at 8:39 PM, John Baughman wrote: > > Yesterday I found myself in need o dynamic Help Tips in

Reject data entry in named selection list box

2017-11-26 Thread John Baughman via 4D_Tech
Given a named selection list box, Is there any way to reject the saving of a record modified in the listbox outside of a trigger. For example I have a field in the table that cannot be blank if there is more than one record in the current selection. If only one record is in the selection the use

Re: Query from two 4D application

2017-12-02 Thread John Baughman via 4D_Tech
Where are the 2 applications located? On the same computer, same LAN, or WAN? Which application consumes the results of the query? I am fairly certain, regardless of the answers to the above, http requests between the two would work. Web Service might work. Not sure, but SQL might work as well.

Re: Query from two 4D application

2017-12-02 Thread John Baughman via 4D_Tech
Not having ever worked in SQL with 4D, I would take the HTTP route. If they are on the same PC, I would give each a different port to listen on. If on the same network but different PCs then I think some port forwarding will need to be configured on the network router. In either case the reques

Subform Tabbing

2017-12-02 Thread John Baughman via 4D_Tech
I have a subform in which I do not want the user to be able to tab into a list box. I have the list box has Focusable checked and tabable unchecked. One can still tab into the list box. Perhaps a bug? Could someone check if they see the same issue. Thanks, John John Baughman Kailua, Hawaii (

Re: Subform Tabbing

2017-12-02 Thread John Baughman via 4D_Tech
First off, I did some more testing and found that this behavior is the same for all list boxes no matter where it is and going back to v14. The focusable and tabable check boxes are on the list box itself and has never, as far as I know, had any affect on tabbing between cells. If the cells are

Re: Subform Tabbing

2017-12-03 Thread John Baughman via 4D_Tech
wrote: > > >> Le 3 déc. 2017 à 08:25, John Baughman via 4D_Tech <4d_tech@lists.4d.com> a >> écrit : >> >> [...] >> So bottom line, how can one take a list box out of the tab order and still >> have the cells respect the enterable check box. >

4D View Pro license required in list box

2017-12-03 Thread John Baughman via 4D_Tech
I am working on a new database in v16 R5. I develop on the Mac and this app will deploy on windows. I am testing it on windows for the first time and I have a form with 2 array based list boxes on it. The first populates the second depending on it’s selection. When the form opens up the second

Re: 4D View Pro license required in list box

2017-12-03 Thread John Baughman via 4D_Tech
Never mind. I just had to reapply my developer license. Fixed the problem. Thanks, John > On Dec 3, 2017, at 8:50 PM, John Baughman via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I am working on a new database in v16 R5. I develop on the Mac and this app > will de

Import error

2017-12-05 Thread John Baughman via 4D_Tech
I am trying to make a simple example 16 R5 database for tech support and need to import data from the problem database. I moved the table from the problem db to the example DB then exported the data from the problem DB in 4D format. I created a detail form with the form wizard that includes al

Re: Import error - never mind

2017-12-05 Thread John Baughman via 4D_Tech
Almost immediately after posting my message I noted the option to replace the data instead of append. Voila! Problem solved. John > On Dec 5, 2017, at 5:07 PM, John Baughman wrote: > > I am trying to make a simple example 16 R5 database for tech support and need > to import data from the pr

List Box gotcha - Automatic Row Height

2017-12-05 Thread John Baughman via 4D_Tech
This bit me yesterday installing a new DB at a client site. The Automatic Row Height checkbox in a List Box’s Property list requires a 4D View Pro license to work Client/Server. It doesn’t just not work. It disables the list box entirely if you do not have a license. If you have this box check

Re: List Box gotcha - Automatic Row Height

2017-12-06 Thread John Baughman via 4D_Tech
OK, it should still be in the LRM. I rarely go to the DRM and in this case I wouldn’t even think to go to the LRM. I wonder how many long time developers even are aware that this checkbox has been added to the list box property list let alone that it would completely shut down the list box. I di

Re: List Box gotcha - Automatic Row Height

2017-12-06 Thread John Baughman via 4D_Tech
Thanks Tim, but those reference are to documentation of the command SET LIST AUTO ROW HEIGHT. I am concerned about the Property List check box which has no such warnings, either in the Property List itself or in the LRM. It’s very easy to check that box during development, intentionally or not,

Typing a menu ref for Dynamic pop up menu

2017-12-07 Thread John Baughman via 4D_Tech
vTopLevelList:=Create menu If I try to compile the structure without explicitly typing the variable vTopLevelList, the complains that the result of the function is not compatible with the expression. If I type the variable… C_TEXT(vTopLevelList) The compiler then complains wh

Re: Typing a menu ref for Dynamic pop up menu

2017-12-07 Thread John Baughman via 4D_Tech
7, 2017 at 1:00 PM, John Baughman via 4D_Tech <4d > _t...@lists.4d.com> wrote: > >> The compiler then complains when I try to append to the list saying >> “Changing the type of vTopLevelList from type text to type Real. >> > > ​You can only use APPEND MENU ITEM with a

64bit R5 clients not seeing Server on windows

2017-12-08 Thread John Baughman via 4D_Tech
I am running in interpreted mode R5…. Windows 64 bit Server (default application port 19813) Windows and Mac 64 bit Clients do not see the server. (Available tab of the Connection to 4D Server window). Windows and Mac 32 bit Clients DO see the server MAC 64 bit Server Windows and Mac 64 bit and

Call Form to the rescue

2017-12-09 Thread John Baughman via 4D_Tech
I was trying to update a footer cell of a list box in a parent form, from a list box in a sub form. While the subform could reference the list box itself in the parent, I could not get it to reference any of the parent list box’s footers. Hey, maybe a call form will work… Yep. So the cool pa

Combo Box on Windows

2017-12-10 Thread John Baughman via 4D_Tech
On my Mac if I hit the down arrow key the list drops down with the match, if any, selected and the match is stored in the object. On my PC if I hit the down arrow key the list does NOT drop down, and if a match exists the next item in the list is stored in the object. The only way I can get th

Re: Combo Box on Windows

2017-12-11 Thread John Baughman via 4D_Tech
Chip, > as to the 'wrong item' being selected. > you typed in some character(s) and an item was selected based on the > text entered, you then hit Down Arrow, this would select the next item > in the list. At least for me, that is not how it works on the Mac. I type in something and th

Re: Combo Box on Windows

2017-12-11 Thread John Baughman via 4D_Tech
Clarification for the Mac. After the list drops down, yes, hit the down arrow key and the next item is then selected. > On Dec 11, 2017, at 6:52 AM, John Baughman wrote: > > Chip, > >> as to the 'wrong item' being selected. >> you typed in some character(s) and an item was selected based on th

Quick Report Editor Preview on Windows

2017-12-11 Thread John Baughman via 4D_Tech
What do you have to do on windows to use the preview button in the Quick Report Editor in Windows? When I click it I get “No application is associated with the specified file for this operation”. Thanks, John John Baughman Kailua, Hawaii (808) 262-0328 john...@hawaii.rr.com **

Combo Box Copy

2017-12-12 Thread John Baughman via 4D_Tech
I am trying to get the edit commands working in a dialog. To figure how best to do it I created a test form with a combo box and a text variable. Failing to get an Edit Menu working (see below), I put invisible buttons on the form for cut, copy, and paste with the respective standard actions en

Re: Combo Box Copy

2017-12-12 Thread John Baughman via 4D_Tech
Just figured out how to get the Edit menu on the dialogue working. SET MENU BAR (“Edit”) in the on load phase does the trick. The inability to copy in a combo box remains a problem. Will wait a few minutes before calling tech support. John > On Dec 12, 2017, at 9:41 AM, John Baughman

4D Write Pro Sample DB on YouTube

2017-12-12 Thread John Baughman via 4D_Tech
https://www.youtube.com/watch?v=ZpI2L8nCgzE The above YouTube video shows and refers to a sample database. Anyone know where to find this database? Thanks, John John Baughman Kailua, Hawaii (808) 262-0328 john...@hawaii.rr.com *

Pictures beside text in 4D Write Pro

2017-12-12 Thread John Baughman via 4D_Tech
in the blog post about tables… https://blog.4d.com/4d-write-pro-supports-tables/ The 4D Write Pro document in the video has 3 pictures in it with text blocks beside them. Can someone tell me how that was done? I only see the ability to insert pictures in line with the text or in background. I

Re: 4D Write Pro Sample DB on YouTube

2017-12-13 Thread John Baughman via 4D_Tech
Actually the latter of the 2 blog posts is an attempt to duplicate the look and feel fo 4D Write. The 30 Nov post is interesting and for me I think more intuitive. Count me in with the “lazy”. The whole idea of a component, plug-in, library… whatever is to save me time. So I think it is great

Re: Pictures beside text in 4D Write Pro

2017-12-14 Thread John Baughman via 4D_Tech
; of text. Unfortunately that option isn't (yet) available ): So I too would > like to know how it was done ... perhaps he used a development version ... > I will ask Roland (who wrote the blog) about it. > > Pat > > On 13 December 2017 at 03:18, John Baughman via 4D_Tec

New Object passed as parameter question

2017-12-15 Thread John Baughman via 4D_Tech
If I am making multiple calls to a method and passing parameters via a C_OBJECT, is their any memory issues using New object. For example… $printedHeight:=Timesheets_BuildReport (New object("line";"employeeLine1";"employee";$employeeName;"taskdate";!2017-01-02!)) $printedHeight:=Timesheets_

  1   2   3   4   >