Re: Stylesheet Search?

2019-07-13 Thread Kirk Brooks via 4D_Tech
Tim,
At the moment style sheets only go away in Projects. I've been working with
Projects and quite a bit with dynamic forms. You can implement an
equivalent of style sheets pretty easily when you're working with the form
JSON directly. In fact you have far better style capabilities. A style
sheet is just 3 properties: font, size and style. But you can set all the
text properties in the object JSON (which is part of the form JSON). So
your own styles could be defined in a file in the Resources folder and
include those properties along with alignment, color, etc. You 'apply' them
to each text object on the form.

The biggest convenience with the current styles is recognizing the
platform. But that's not hard to do. What's missing currently is a way to
identify such a style and associate it with a form object. The thing there
is this is likely to change the dimensions of form objects. I assume
currently 4D just manages that stuff programmatically as it draws the forms
on the screen. I bet how this is ultimately going to work with dynamic
forms is a topic of some discussion.

I think the interface with Projects, as it develops, is going to have some
way to deal with this. At this point it's not even clear if Projects is
going to be the default configuration at some point. I suspect so but I'm
only speculating. Personally I'd like to see a command to manage importing
elements from a Project (like forms, methods, tables) into 'regular' 4D
databases.


On Sat, Jul 13, 2019 at 1:08 PM Tim Nevels via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> On Jul 13, 2019, at 2:00 PM, Keisuke Miyako wrote:
>
> > stylesheets are deprecated in project mode.
>
> Are you saying in future versions of 4D that Style Sheets will no longer
> be supported?  So what takes their place? How do you assign font, style and
> size to objects that supports macOS and Windows like we do now with Style
> Sheets? I love Style Sheets and I use them EVERYWHERE.
>
> 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
> **



-- 
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: Stylesheet Search?

2019-07-13 Thread Tim Nevels via 4D_Tech
On Jul 13, 2019, at 2:00 PM, Keisuke Miyako wrote:

> stylesheets are deprecated in project mode.

Are you saying in future versions of 4D that Style Sheets will no longer be 
supported?  So what takes their place? How do you assign font, style and size 
to objects that supports macOS and Windows like we do now with Style Sheets? I 
love Style Sheets and I use them EVERYWHERE. 

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: Stylesheet Search?

2019-07-13 Thread Patrick Emanuel via 4D_Tech
Hi Robert,

In QS_Toolbox there are 2 functions:
- one to list style sheet definition
- one which list all object and style sheet attach

To change them, you have to do it manually.
In the future, we should be able to update this information directly on the
exported project file.

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
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: Stylesheet Search?

2019-07-12 Thread Jeremy French via 4D_Tech
What will replace style sheets?

> On Jul 12, 2019, at 8:24 PM, Keisuke Miyako via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> stylesheets are deprecated in project mode.

**
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: Stylesheet Search?

2019-07-12 Thread Keisuke Miyako via 4D_Tech
FYI

stylesheets are deprecated in project mode.

I think the FORM LOAD approach continues to be the best option.

> 2019/07/13 5:27、Dani Beaubien via 4D_Tech <4d_tech@lists.4d.com>のメール:
> Might be easier to update it to v17 R5 and save the structure as a project 
> and then use a file based search.



**
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: Stylesheet Search?

2019-07-12 Thread Dani Beaubien via 4D_Tech
Might be easier to update it to v17 R5 and save the structure as a project and 
then use a file based search.

Dani Beaubien
Open Road Development

> On Fri, 12 Jul 2019 at 14:22, Robert ListMail via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> 
>> Is there a way to search for a specific Stylesheet? I inherited a DB where
>> many objects reference a blank stylesheet name. I guess I could create a
>> stylesheet with a blank name but I’d prefer to find all of the objects that
>> are referencing an non existent stylesheet.
>> 
>> 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
>> **
> **
> 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: Stylesheet Search?

2019-07-12 Thread Adam Bevan via 4D_Tech
Build a report.

Open each form using 'form load'.
Call 'form get objects' then call 'object get style sheet' for each object.


Adam Bevan
Developer & CEO, Argus Productions Inc.



On Fri, 12 Jul 2019 at 14:22, Robert ListMail via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Is there a way to search for a specific Stylesheet? I inherited a DB where
> many objects reference a blank stylesheet name. I guess I could create a
> stylesheet with a blank name but I’d prefer to find all of the objects that
> are referencing an non existent stylesheet.
>
> 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
> **
**
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
**

Stylesheet Search?

2019-07-12 Thread Robert ListMail via 4D_Tech
Is there a way to search for a specific Stylesheet? I inherited a DB where many 
objects reference a blank stylesheet name. I guess I could create a stylesheet 
with a blank name but I’d prefer to find all of the objects that are 
referencing an non existent stylesheet.

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