Re: Listbox Subform Modern UI

2019-06-27 Thread Kirk Brooks via 4D_Tech
Robert,
First off I wouldn't recommend trying to implement any of the new ORDA
style techniques in existing forms. I just don't see any benefit.

So, if you have the opportunity to make a new form to replace an existing
one I recommend spending some time getting familiar with the new Form
object. This completely changes the way you make a form. From there the way
subforms work now is very cool and so. much.easier. Specifically check out
OBJECT SET SUBFORM. With this you can change what's displayed in a subform
object instantly. So you can setup a manner of 'sub' forms and switch them
in the subform object.

There's a bit to learn here if you are just starting in with ORDA but the
payoff is large.

On Thu, Jun 27, 2019 at 3:11 PM Robert ListMail via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hi Kirk, I’m using Windows v17.2.
>
> The unusual issues with the Subform have been fixed, thanks to Tim Nevels.
> The converted database had fields defined on the included form which did
> not leave enough space for the chosen font size. Converted databases can
> take slightly more room and if there is no room to give than very strange
> behavior ensues. So for now this database will continue to use the old
> subform approach in these Admin only areas… but I’m still curious how you
> might choose to implement this with Listboxes.
>
> Thanks,
>
> Robert
>
> > On Jun 27, 2019, at 4:59 PM, Kirk Brooks via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > What version are you using?
>
> **
> 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
> **



-- 
Kirk Brooks
San Francisco, CA
===

What can be said, can be said clearly,
and what you can’t say, you should shut up about

*Wittgenstein and the Computer *
**
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: Listbox Subform Modern UI

2019-06-27 Thread Robert ListMail via 4D_Tech
Hi Kirk, I’m using Windows v17.2. 

The unusual issues with the Subform have been fixed, thanks to Tim Nevels. The 
converted database had fields defined on the included form which did not leave 
enough space for the chosen font size. Converted databases can take slightly 
more room and if there is no room to give than very strange behavior ensues. So 
for now this database will continue to use the old subform approach in these 
Admin only areas… but I’m still curious how you might choose to implement this 
with Listboxes.

Thanks,

Robert

> On Jun 27, 2019, at 4:59 PM, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> What version are you using?

**
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: Listbox Subform Modern UI

2019-06-27 Thread Kirk Brooks via 4D_Tech
What version are you using?

On Thu, Jun 27, 2019 at 1:55 PM Robert ListMail via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Although, I’ve implemented this in various ways, I’d like to know the
> modern UI approach that you’ve found to be beneficial to your users and
> with an efficient programming effort. How do you handle included subforms
> (on a detailed form)? I’ve replaced an old included form with a new listbox
> object ( that’s populated with a related election of records. When I assign
> a required list to the only field presented in the listbox the selected
> record is not maintained which prevents the delete button from working.
> Also, the interface is a bit clunky since adding new records brings up the
> related table input form… So, how do you approach simple listbox objects to
> manage multiple related records where the acceptable values must be entered
> from a certain list.
>
> 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
> **



-- 
Kirk Brooks
San Francisco, CA
===

What can be said, can be said clearly,
and what you can’t say, you should shut up about

*Wittgenstein and the Computer *
**
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: Listbox Subform Modern UI

2019-06-27 Thread Robert ListMail via 4D_Tech
What would cause a subform (not a listbox) to only show the first of several 
related records and when you click below that record, the first record 
disappears?
**
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
**

Listbox Subform Modern UI

2019-06-27 Thread Robert ListMail via 4D_Tech
Although, I’ve implemented this in various ways, I’d like to know the modern UI 
approach that you’ve found to be beneficial to your users and with an efficient 
programming effort. How do you handle included subforms (on a detailed form)? 
I’ve replaced an old included form with a new listbox object ( that’s populated 
with a related election of records. When I assign a required list to the only 
field presented in the listbox the selected record is not maintained which 
prevents the delete button from working. Also, the interface is a bit clunky 
since adding new records brings up the related table input form… So, how do you 
approach simple listbox objects to manage multiple related records where the 
acceptable values must be entered from a certain list.

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
**

word press on WS2008 [off]

2019-06-27 Thread David Ringsmuth via 4D_Tech
I support a customer 4D system running on WS2008.

They want to also run a Word Press site on that same 4D Server computer.

My customer thinks it should be easy to do.

I’ve not published any Word Press web site and would be helped by anyone here 
who has done so on  a WS2008 box.

Can it be easily done?

Are there things in Word Press that won’t run on WS2008?

The final application will have a iFrame containing the 4D app’s web forms.

Thanks!

David Ringsmuth

**
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: v14+ find in design

2019-06-27 Thread Chip Scheide via 4D_Tech
I was the instigator of this thread  :)

My question was: 
[In which version does] Find in design locate method references in 
object properties?

ex:
Listbox: Font foreground color: my_font_color_selection_method

In v13 Find in design will not locate references to methods which are 
entered into a property field.
At some point (apparently) this ability was added.

My current task: is to integrate a utility component into an existing 
system, replacing method calls in code with component calls, and 
removing the no longer referenced methods.

In some instances, the method(s) being replaced by component calls 
may/are called from object properties (not object methods). 
I found a workaround which is the compiler complains if a method 
referenced in an object property does not exist; so if I just go about 
removing methods as I need, if there is a reference in an object 
property when I compile it will become obvious.

Chip



On Thu, 27 Jun 2019 13:04:56 -0400, Charles Miller via 4D_Tech wrote:
> Make sure you have search in methods and search in forms selected. I
> also never do a case sensitive search
> 
> 
> Regards
> 
> Chuck
> 
> On Thu, Jun 27, 2019 at 1:00 PM Dave Halbert via 4D_Tech
> <4d_tech@lists.4d.com> wrote:
>> 
>> I suspect that I'm not totally understanding the question correctly but
>> if this helps on V15.5 running locally on a Mac
>> 
>> Object method is
>> 
>> Case of
>> : (Form event=On Data Change)
>> 
>> [Stock]DescriptionInv:=Settocaps (->[Stock]DescriptionInv)
>> 
>> End case
>> 
>> 
>> 
>> Using Find in design
>> 
>> Find = Text
>> 
>> Which = contains - entered is = ->[Stock]DescriptionInv
>> 
>> Mod date of parent = indifferent
>> 
>> Folder = Top level
>> 
>> Search Forms and Methods = Yes
>> 
>> Case sensitive = No
>> 
>> 
>> 
>> Result is zero occurrences
>> 
>> 
>> --
>> --
>> The Better Beverage Company
>> 5 Arthur St
>> Edinburgh EH6 5DA
>> 
>> 0131 55 33 121
>> **
>> 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
>> **
> 
> 
> 
> -- 
> 
-
>  Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
>  Informed Solutions, Inc.
>  Brookline, MA 02446 USA Registered 4D Developer
>Providers of 4D, Sybase & SQL Server connectivity
>   https://www.informed-solutions.com
> 
-
> This message and any attached documents contain information which may
> be confidential, subject to privilege or exempt from disclosure under
> applicable law.  These materials are intended only for the use of the
> intended recipient. If you are not the intended recipient of this
> transmission, you are hereby notified that any distribution,
> disclosure, printing, copying, storage, modification or the taking of
> any action in reliance upon this transmission is strictly prohibited.
> Delivery of this message to any person other than the intended
> recipient shall not compromise or waive such confidentiality,
> privilege or exemption from disclosure as to this communication.
> **
> 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
> **
---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**
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: Complex graph

2019-06-27 Thread Tom Benedict via 4D_Tech
Scott Staley wrote:

> I'm not very familiar with View Pro or the tool it was developed from
> (SpreadJS, a javascript spreadsheet API) but one thing that I see that
> hasn't been talked about much is that it brings many if not most of the
> charts/graphs that are available in excel to 4D.  I tried a 3d bar chart but
> it came across as a 2D version so I know all options are not supported but
> given the limited graphing available in 4D this seems like a big deal. I
> personally do most of my graphing in 4D using Google charts API but am glad
> to have more options and the ability to print the chart.

I’ve used Google Image Charts API with 4D very successfully, however, keep in 
mind that your raw data goes across the internet to Google, so there may be 
data security issues, depending on your business. The Image Charts API is 
officially deprecated though and replaced by the Area Charts API, which I 
haven’t used, but it does all its processing locally, so is not a security risk.

I’ve also worked with HighCharts in 4D, which uses a local library and is very 
full featured.

Tom Benedict
**
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: v14+ find in design

2019-06-27 Thread Charles Miller via 4D_Tech
Make sure you have search in methods and search in forms selected. I
also never do a case sensitive search


Regards

Chuck

On Thu, Jun 27, 2019 at 1:00 PM Dave Halbert via 4D_Tech
<4d_tech@lists.4d.com> wrote:
>
> I suspect that I'm not totally understanding the question correctly but
> if this helps on V15.5 running locally on a Mac
>
> Object method is
>
> Case of
> : (Form event=On Data Change)
>
> [Stock]DescriptionInv:=Settocaps (->[Stock]DescriptionInv)
>
> End case
>
> 
>
> Using Find in design
>
> Find = Text
>
> Which = contains - entered is = ->[Stock]DescriptionInv
>
> Mod date of parent = indifferent
>
> Folder = Top level
>
> Search Forms and Methods = Yes
>
> Case sensitive = No
>
> 
>
> Result is zero occurrences
>
>
> --
> --
> The Better Beverage Company
> 5 Arthur St
> Edinburgh EH6 5DA
>
> 0131 55 33 121
> **
> 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
> **



-- 
-
 Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
 Informed Solutions, Inc.
 Brookline, MA 02446 USA Registered 4D Developer
   Providers of 4D, Sybase & SQL Server connectivity
  https://www.informed-solutions.com
-
This message and any attached documents contain information which may
be confidential, subject to privilege or exempt from disclosure under
applicable law.  These materials are intended only for the use of the
intended recipient. If you are not the intended recipient of this
transmission, you are hereby notified that any distribution,
disclosure, printing, copying, storage, modification or the taking of
any action in reliance upon this transmission is strictly prohibited.
Delivery of this message to any person other than the intended
recipient shall not compromise or waive such confidentiality,
privilege or exemption from disclosure as to this communication.
**
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: v14+ find in design

2019-06-27 Thread Dave Halbert via 4D_Tech
I suspect that I'm not totally understanding the question correctly but 
if this helps on V15.5 running locally on a Mac


Object method is

Case of
: (Form event=On Data Change)

[Stock]DescriptionInv:=Settocaps (->[Stock]DescriptionInv)

End case



Using Find in design

Find = Text

Which = contains - entered is = ->[Stock]DescriptionInv

Mod date of parent = indifferent

Folder = Top level

Search Forms and Methods = Yes

Case sensitive = No



Result is zero occurrences


--
--
The Better Beverage Company
5 Arthur St
Edinburgh EH6 5DA

0131 55 33 121
**
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: Complex graph

2019-06-27 Thread Scott Staley via 4D_Tech
I don't and I actually created the graph in microsoft excel and then opened
it with view pro.  The data for the chart is on the spreadsheet behind the
chart and is hidden by the chart.  You can also hide the toolbar so that the
only thing that is visible is the chart.  With 4D you can update the data in
the cells.  There are several tech tips/notes that demonstrate how to
manipulate view pro cells from 4D.

I'm not very familiar with View Pro or the tool it was developed from
(SpreadJS, a javascript spreadsheet API) but one thing that I see that
hasn't been talked about much is that it brings many if not most of the
charts/graphs that are available in excel to 4D.  I tried a 3d bar chart but
it came across as a 2D version so I know all options are not supported but
given the limited graphing available in 4D this seems like a big deal. I
personally do most of my graphing in 4D using Google charts API but am glad
to have more options and the ability to print the chart.



--
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: Which extension does Google Blink engine use when showing PDF

2019-06-27 Thread Paul Dennis via 4D_Tech
The default zoom is part of the pdf not the viewer. Try opening in acrobat
(not reader) and set the default default magnification to 200% in file-
properties. Open in 4d it should be zoomed in. I just checked and did this
opening in chrome ignores the file setting, opening in acrobat is ok. So its
a chrome problem.  



--
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: Complex graph

2019-06-27 Thread stardata.info via 4D_Tech

Interesting.

Have you a link for a demo that explain how to use 4D View pro for 
create graph?


Thanks

Ferdinando

Il 27/06/2019 00:34, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 3
Date: Wed, 26 Jun 2019 13:20:49 -0700 (MST)
From: Scott Staley
To:4d_tech@lists.4d.com
Subject: Re: Complex graph
Message-ID:<1561580449421-0.p...@n5.nabble.com>
Content-Type: text/plain; charset=us-ascii

I was able to make the linked chart in View Pro...

Link to:Chart
   







--
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
**

Which extension does Google Blink engine use when showing PDF

2019-06-27 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi,

Windows, 4D V17 64-bit
We use a webarea with the embedded web rendering engine checked, so 4D is using 
Google Blink
In this area we show PDFs and it look very nice I must say

However, we ant to change the default zoom for the PDFs
I have changed the zoom preference in Acrobat on my machine, but without effect

So, does anybody know which extension the blink web rendering uses to show PDFs
Or does anybody know how to set the default zoom for PDF?

Thanks,
Piotr

**
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
**