Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: 1 ... 6 7 [8] 9 10
 71 
 on: June 03, 2020, 08:48:50 am 
Started by Reuben B. - Last post by Reuben B.
The initial size of a Genero Desktop Client window is the minimum size necessary to display the content.  With forms that only have a small number of fields, that means the form can be too narrow to see the whole of the statusBar, toolBar,  topMenu,  action panel or ringMenu panel, or in the other dimension be too short to see the whole of the toolBar, action or ringMenu panel.  (Note: by using presentation styles, toolBars, action panels, and ringMenu panels can be displayed in both horizontal and vertical directions.)

There are a few ways this can be alleviated. If the statusBar was a concern, you could change the statusBarType to an entry that begins lines*.  You can add a blank line between rows of a GRID as in 4js.com/ask-reuben/ig-11.  You donít really want to be getting into scenarios where you are making fields wider, or restructuring toolBar, topmenu, actions, simply because you have a small window.

The often overlooked solution is to use the MINHEIGHT, and MINWIDTH properties of a form.   Experiment to come up with suitable values to suit your situation, I typically use MINHEIGHT=25, MINWIDTH=80, the rationale being that was the size of the TUI green screen form of the past, and so most of my normal windows will be close to that size anyway.

Read more at https://4js.com/ask-reuben/ig-32/

 72 
 on: June 02, 2020, 10:51:47 am 
Started by Tim B. - Last post by Tim B.
Our mobile app currently obtains the lan & lng at regular intervals using a FRONTCALL.  This works fine except for the delay of several seconds, which can be a little annoying for our drivers.  I was advised several years ago that Cordova plugins could solve this issue because they can be called asynchronously.   Can anyone recommend a plugin and/or method?  Is Cordova still the recommended route? 

Alternatively, have there been any thoughts about being able to call a 4Js function asynchronously to achieve the same result with FRONTCALL?

Thanks

 73 
 on: June 01, 2020, 10:00:41 am 
Started by Efisio S. - Last post by Efisio S.
Hi Efisio, my advice would be more conservative :
IMHO its very easy to break the GBC by adding custom CSS at the wrong place.
I never worked with Animate.css , but regardless which kind of CSS you add: it might has an impact on your existing widgets.
So you really need expert level to achieve something successful.
So I'd rather recommend to follow the "How do I. " guides and try to understand the intrinsics of GBC step by step.
If you feel something is missing in the "How do I .." guides , ask the support for filing a feature request.
Regards, Leo
Thanks Leo, so, as I stated before, handling this kind of customisations requires mastering javascript.
I'll keep in mind asking for specific guides when I will have concrete ideas.

Hi,

I have been using Animate.css (https://daneden.github.io/animate.css) in my GBC project for quite some time, and so far no issues found.

You can add any custom css to your GBC customization. Below is what i did.

1. Download the required css file
2. Change Extention to scss (eg: Animate.scss)
3. Copy the scss file to [GBC_CUSTOMIZATION_DIR]/sass
4. Edit [GBC_CUSTOMIZATION_DIR]/sass/customization.scss and add a line at bottom to add the new scss file
    @import "Animate.scss";
5. Use the required classes of the Animate.css in your customization.
6. Build GBC   


Thanks And Regards
Susobh Sugathan
Thanks Susobh, I will definitely try this!

 74 
 on: June 01, 2020, 06:05:47 am 
Started by Efisio S. - Last post by Susobh S.
Hi,

I have been using Animate.css (https://daneden.github.io/animate.css) in my GBC project for quite some time, and so far no issues found.

You can add any custom css to your GBC customization. Below is what i did.

1. Download the required css file
2. Change Extention to scss (eg: Animate.scss)
3. Copy the scss file to [GBC_CUSTOMIZATION_DIR]/sass
4. Edit [GBC_CUSTOMIZATION_DIR]/sass/customization.scss and add a line at bottom to add the new scss file
    @import "Animate.scss";
5. Use the required classes of the Animate.css in your customization.
6. Build GBC   


Thanks And Regards
Susobh Sugathan

 75 
 on: May 30, 2020, 05:12:56 pm 
Started by Efisio S. - Last post by Leo S.
Hi Efisio, my advice would be more conservative :
IMHO its very easy to break the GBC by adding custom CSS at the wrong place.
I never worked with Animate.css , but regardless which kind of CSS you add: it might has an impact on your existing widgets.
So you really need expert level to achieve something successful.
So I'd rather recommend to follow the "How do I. " guides and try to understand the intrinsics of GBC step by step.
If you feel something is missing in the "How do I .." guides , ask the support for filing a feature request.
Regards, Leo


 76 
 on: May 29, 2020, 07:04:06 am 
Started by Reuben B. - Last post by Reuben B.
Candy,

With what you have already using tabbedContainer=yes, to have a dashboard you could simply have your parent program launch your dashboard program using RUN WITHOUT WAITING after the OPEN WINDOW.

To quickly see what I mean, try adding (replacing $FGLDIR if necessary)

RUN "fglrun $FGLDIR/demo/webcomponents/svgbasics/svgbasics.42m" WITHOUT WAITING

after the OPEN WINDOW of your StartMenu parent program. 


As an interesting aside I look at the tabbedContainer and think why do we have something special for it, is it not a sidebar with applications items stacked horizontally instead of vertically, and the window items hidden ...

Reuben




 

 77 
 on: May 28, 2020, 03:34:35 pm 
Started by Christine R. - Last post by Christine R.

 Genero 3.10 and 3.20 GRE Maintenance Release


Four Js is pleased to announce a Maintenance Release of Genero Report Engine 3.10.13 and 3.20.09.

These versions include the following fixes :
This version is now downloadable from the web site : https://4js.com/download/products/.

Note : All Four Js Genero customers under maintenance have free access to the new release.

Best regards,

Four Js Development Tools

 78 
 on: May 28, 2020, 11:15:24 am 
Started by Efisio S. - Last post by Efisio S.
Thanks Reuben! I also saw your instagram post yesterday about this topic, great job!
In the end the choice fell back on large buttons (SCROLLGRID with pagedScrollGrid) inspired by webOE2 app from this Neil Martin github repository https://github.com/neilm-fourjs/njms_demos320

 79 
 on: May 28, 2020, 11:00:51 am 
Started by Efisio S. - Last post by Efisio S.
Hi Efisio, you might explain what exactly you want to achieve by replacing the build-in message with a custom one.
If its more than colors/borders , so positioning and on screen time this might scratch the new feature area.
Are you perhaps after positioning the MESSAGE/ERROR near the current field ?
Regards, Leo
Hi Leo!
I had nothing specific in mind, I just wanted to do some tests/examples.
For example I used Animate.css, in addition to other libraries, when developing a web application (non genero), maybe it could be interesting to use it in a GBC customisation.
What do you think?

 80 
 on: May 28, 2020, 02:47:11 am 
Started by Reuben B. - Last post by Candy M.
Reuben,
    This is for the GBC.
    The Window that is opened with the StartMenu has these style settings
Code
  1. <Style name="Window.mtmain_tree_gbc">
  2.     <StyleAttribute name="windowType" value="normal" />
  3.     <StyleAttribute name="ignoreMinimizeSetting" value="yes" />
  4.     <StyleAttribute name="startMenuPosition" value="tree" />
  5.     <StyleAttribute name="startMenuSize" value="large" />
  6.     <StyleAttribute name="actionPanelPosition" value="none" />
  7.     <StyleAttribute name="ringMenuPosition" value="none" />
  8.     <StyleAttribute name="toolBarPosition" value="none" />
  9.     <StyleAttribute name="errorMessagePosition" value="popup" />
  10.     <StyleAttribute name="tabbedContainer" value="yes" />
  11.  </Style>
  12.  

So we have our our own background image for the empty tabbed container here:  https://4js.com/online_documentation/fjs-gbc-manual-html/howdoi/customize-file-replace/change-mttab-bkgd-img.html

We would like to have a dashboard where the empty tabbed container image is located and the solution you posted here gives us a good idea on how we can accomplish that.

I think our app is an SDI, as we don't use MDI.

But we like the side panel disappearing in the GBC and the tabbed container for each of the apps launched.

We really do like your idea of using the TREE, but we want the launcher part (the tree) to disappear and have programs appear in a tabbed container.   Maybe we
can't do that and have dashboard, too.

Candy

Pages: 1 ... 6 7 [8] 9 10
Powered by SMF 1.1.21 | SMF © 2015, Simple Machines