Re: Checkbox in collection based listbox

2018-11-07 Thread Andrew Hickey via 4D_Tech
Hi Jeff and Jeremy,

Thanks.  Once I updated the form in 64 bit I could select types (in 32, I
get an empty list for types and anything that is typed gets propagated to
the other columns.  Once I could make it a boolean I could then ensure it
used a checkbox.

Cheers,
Andrew 



--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: ODBC Import - 64bit 4D Disabled???

2018-11-07 Thread Randy Engle via 4D_Tech
I guess I need to "roll-my-own" dialog for this.

Yes?

Randy Engle

Re:

I'm just now noticing that 4D 64bit - Importing via ODBC is disabled (User 
Environment) This seems to be the case since at least v16

Have I lost my marbles?

How come, why for disabled?

What other options to get data from another system?  (Except to use 32bit 4D)

Anyone?

Thanks

Randy Engle, Director
XC2 Software LLC – XC2LIVE!


**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

ODBC Import - 64bit 4D Disabled???

2018-11-07 Thread Randy Engle via 4D_Tech
I'm just now noticing that 4D 64bit - Importing via ODBC is disabled (User 
Environment)
This seems to be the case since at least v16

Have I lost my marbles?

How come, why for disabled?

What other options to get data from another system?  (Except to use 32bit 4D)

Anyone?

Thanks

Randy Engle, Director
XC2 Software LLC – XC2LIVE!


**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Picture Buttons--Benefits of Picture Library

2018-11-07 Thread Tim Nevels via 4D_Tech
On Nov 7, 2018, at 2:00 PM, Robert ListMail wrote:

> I’ve been working with button images which the picture library... While doing 
> this I noticed one nice feature of the picture library. When dragging button 
> graphics from the picture library to a form (assuming that the picture 
> properties are defined as a split object), the destination object is assumed 
> to be a picture button and is sized properly (48x48). When I do this with the 
> resource folder as a source, I get just the graphic (not a button) and I have 
> to muck with the sizing properties since this apparently cannot be set via 
> the resource tab of the toolbox. Any suggestions about this subject?  What’s 
> the consensus about where to store these resources? I think 4D is suggesting 
> resources (the external resource folder) is the future but clearly there are 
> some picture folder benefits. What do you use?

Use what you like and what works best for you. That’s the real answer. 

I love Picture Library and use it for many reasons. Faster, easier, less chance 
of breakage when installing new versions and moving structures around. 

Also no need to do “duplicate resources locally” of every picture in 
“Resources” whether the user ever needs them or not. Picture Library works just 
like forms and methods. You only get what you need when you need it, and only 
if the locally cached version needs to be updated. That’s a big advantage to 
me. Why copy a 50MB “Resources” folder of images when 4D Client starts up?  The 
client may never need 49MB of those images. 

Picture Library is not going anywhere. There’s no talk of deprecation as far as 
I know. 

Tim

*
Tim Nevels
Innovative Solutions
785-749-3444
timnev...@mac.com
*

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Cannot Dismiss Form When Compiled... (Robert ListMail)

2018-11-07 Thread Tim Nevels via 4D_Tech
On Nov 7, 2018, at 2:00 PM, 4d_tech-requ...@lists.4d.com wrote:

> While upgrading a v11 structure to v17R3 (Windows), I’ve noticed that the 
> form (“PCDisplay”) loaded via Modify Selection cannot be dismissed when the 
> application is compiled. Can you spot the problem?
> 
> //
> DIALOG([DocketFile];"PullCaseSearch")
> If (OK=1)
>   QUERY([DocketFile];[DocketFile]DocketSite=vSite;*)
>   QUERY([DocketFile];[DocketFile]DocketDate=vDate)
>   If (Records in selection([DocketFile])>0)
>   RELATE ONE SELECTION([DocketFile];[IntakeFile])
> table([IntakeFile]))
>   NEXT RECORD([DocketFile])
>   ORDER BY([IntakeFile];[IntakeFile]CaseNo;>)
>   FORM SET OUTPUT([IntakeFile];"PCDisplay")
>   FORM SET INPUT([IntakeFile];"TestIntake")
>   MODIFY SELECTION([IntakeFile];*)
>   Else 
>   ALERT("No cases found for that docket.")
>   End if 
> End if 
> UNLOAD RECORD([IntakeFile])
> //

Hi Robert,

Is there an “Open window” company anywhere to be found, or is this all running 
in the default 4D splash screen window? That could be the issue. Need to stop 
using that window and process and start creating new processes and doing 
explicit “Open window” commands in the new processes. That’s the new 4D way. 
The single-window-never-open-a-window way is super legacy and is being left 
behind rapidly by 4D engineering. My opinion.

When you say “dismissed”, you mean the MODIFY SELECTION part disappears and you 
return back to whatever was there before? In the past you had to issue a 
“CANCEL” command from a button or somewhere to make MODIFY SELECTION go away.

Last possibility is to not use v17 R3. Drop back to v17.0 and see if it works 
like it did in v11. Could be v17 R series changes has killed this. Might have 
to go even farther back to v16 or v15 to keep this old legacy code functioning.

Tim

*
Tim Nevels
Innovative Solutions
785-749-3444
timnev...@mac.com
*

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Picture Buttons--Benefits of Picture Library...

2018-11-07 Thread Robert ListMail via 4D_Tech
I’ve been working with button images which the picture library... While doing 
this I noticed one nice feature of the picture library. When dragging button 
graphics from the picture library to a form (assuming that the picture 
properties are defined as a split object), the destination object is assumed to 
be a picture button and is sized properly (48x48). When I do this with the 
resource folder as a source, I get just the graphic (not a button) and I have 
to muck with the sizing properties since this apparently cannot be set via the 
resource tab of the toolbox. Any suggestions about this subject?  What’s the 
consensus about where to store these resources? I think 4D is suggesting 
resources (the external resource folder) is the future but clearly there are 
some picture folder benefits. What do you use?

Thanks,

Robert
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Using 4D with Git...

2018-11-07 Thread Epperlein, Lutz (agendo) via 4D_Tech
> What does this accomplish? It allows us to keep a record of changes (but no
> smooth way to revert changes, and no way to track form changes).

As I mentioned earlier (not in this thread) we use the component vc_framework 
initiated by Josh Fletcher some time ago. This component is able to export 
forms too, since V14.
And regarding the handling of reverts, we implemented a way to import changes 
in the VCS repositories. You can find more at 
https://github.com/elutz/vc-framework-v17
The process is a bit cumbersome since you have to do an extra step after 
checking out the changes from VCS to get them into 4D. But we use it on 
regular base with success the last years. One remark: We don't do an import of 
forms, we use it only for methods of all kinds.

> We are also excitedly anticipating better support for version control!

There are feature requests, i.e. look here 
http://forums.4d.com/Post/DE/1356010/1/1356011
At least the possibility to export in V17R3 looks promising, but this only 
half the way.

Regards
Lutz Epperlein
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Cannot Dismiss Form When Compiled...

2018-11-07 Thread Robert ListMail via 4D_Tech
Any thoughts?

Sent from my iPhone

> On Nov 7, 2018, at 12:43 AM, Robert ListMail via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> cannot be dismissed when the application is compiled.

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Using 4D with Git...

2018-11-07 Thread Noah via 4D_Tech
We have been exporting our project and form methods to flat files that we
track in the Bitbucket GIT service. We chose Bitbucket because it has free
private repos.
What does this accomplish? It allows us to keep a record of changes (but no
smooth way to revert changes, and no way to track form changes).

We are presently having to re-write our export method to work with version
16 (64-bit) because of the change in file path separators.
We are also excitedly anticipating better support for version control!

On Thu, Nov 1, 2018 at 1:31 AM Epperlein, Lutz (agendo) via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> If bitbucket works like a usual git server (I don't have experiences with
> it),
> you have to *clone* your repository (the remote one at github or the local
> repo) to bitbucket. The repository contains the whole history of all
> commits.
> You don't lose anything. Subsequent sync operations such as push and pull
> synchronizes the repositories, again with all commits.
>
> Regards
> Lutz
>
> > -Original Message-
> > From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Robert
> > ListMail
> > via 4D_Tech
> >
> > If you start with your own local git data and then publish the project
> to
> > GitHub and
> > then move it to bitbucket do you get to see the granularity of the
> commits
> > and have all
> > of the other options offered via Git? Or, do you lose the history with
> each
> > transition?
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Checkbox in collection based listbox

2018-11-07 Thread Jeremy French via 4D_Tech
Hi Andrew,

Did you set the “Data type" to “Boolean” in the Property List's “Data Source” 
theme? 

(The default data type is “String", which will only display “True” or “False” 
for Boolean values.)

- Jeremy French



> On Nov 7, 2018, at 2:57 AM, Andrew Hickey via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Hi all,
> 
> I have a listbox with a reviewed column.
> 
> I populate the Form.listData entity selection based on the state and
> selection from a previous query.
> 
> However, I cannot get the Boolean field to display as a checkbox, the option
> does not appear under the Display section of the properties and so far I
> have not been able to use OBJECT Set Format to force it as part of the On
> Load handler.
> 
> has anyone else had success with check boxes and Collection based list
> boxes?  Is there something obvious I have missed?
> 
> Many thanks,
> Andrew
> 
> 
> 
> --
> Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Checkbox in collection based listbox

2018-11-07 Thread Jeffrey Kain via 4D_Tech
It's a bug in the property list -- the option appears in either the 64-bit or 
the 32-bit version only (sorry - I don't remember which).  Switch over to 
whichever version you're not using and set this property, and it will display 
fine in the other.

Did that make sense? :)

Jeff


> On Nov 7, 2018, at 2:57 AM, Andrew Hickey via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> However, I cannot get the Boolean field to display as a checkbox, the option
> does not appear under the Display section of the properties and so far I
> have not been able to use OBJECT Set Format to force it as part of the On
> Load handler.

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**