OI10 Splitter Bars – Ouch and a smile.


splitterOn the whole, my OpenInsight 10 (OI10) Beta 4 conversion has been a major success and I’m now using the application on a daily basis and working on the UI to make it cleaner using the new tools in OI10.

However, one gotcha which we should all already be aware of, is the splitter bars that were introduced in OI9.  In that version, you simply dropped the controls on the form and it did its best to resize controls (usually edit tables).  The downside for me was a flickering screen as the form constantly redrew whilst the bar was being dragged by the user.

In OI10, Carl has introduced a new ‘MOVE’ event which enables developers to very quickly and easily handle the resizing of the controls to best suit the application.  In my example, I have a form with three panels (Groupboxes) and on each panel is an editable.  The panels are then set to autosize and the following code is added to the upper and lower Splitter Bars to managed the moving of the bars as needed.  The code below is taken from the Upper Splitter bar’s MOVE event.

Declare Subroutine Set_Property

// Adjust the window's controls as the user moves the horizontal splitter bar.

   // Get the bar "thickness"
   barH = Get_Property( ctrlEntID, 'HEIGHT' )
   
   // Get the bar initial position
   barP = Get_Property( ctrlEntID, 'TOP', YCoord )
   
   // Move the bar
   Set_Property( ctrlEntID, 'TOP', YCoord )

   // How far did the bar Move 
   barM = barP - YCoord
   
   // Move the upper panel control
   valPanelUpper = @window:'.GRP_ALF30DAYSPLUS'
   Set_Property( valPanelUpper, 'BOTTOM', yCoord - 4 )

   // Move the lower panel control and reset the height
   valPanelLower = @Window: '.GRP_ALF30'
   Set_Property( valPanelLower, "TOP", yCoord  + barH + 4 )
   
   valPanelHeight = Get_Property(valPanelLower, 'HEIGHT')
   Set_Property( valPanelLower, 'HEIGHT', valPanelHeight + barM )
    
return 1

Disclaimer: The above code is written by me as a non professional developer.  Whilst it works, it is not optimised, does not include any error trapping and does not promote best practice.  The above code includes comments to explain what it does.

I was initially disappointed that I would have to write code to manage the splitter bars, but now that this is done I really like the way that I have control over the controls that move and that the form no longer flickers when the splitter bars are moved.

For more details about OI10 changes, please check out Carl’s OI10 Blog.

 

Advertisements

Conference


2016conf

If you are interested in OpenInsight 10 and wondering what the forthcoming conference has on store for you, then you’ll be interested in the Revelation Conference website which is now live.

If you are an OpenInsight developer or a MultiValue developer using one of the main MV tools and you are still not interested and I can’t see why you would, please checkout the conference website and the Topics section specifically before you decline to take advantage of this learning experience.  You just might be missing the opportunity to take your applications to the next level the easy way.

The Revelation Conference is the main event on Revelation’s event calendar and this years event looks to be bigger, better and more appealing to OpenInsight and other MultiValue developers than ever before.

This dedicated website provides you with all of the information that you need about the conference.  It has details about the location (Orlando, Florida), you’ll find out all about the presentations and the absolute wealth of information available, about the speakers themselves and more.

I found the last conference invaluable in preparing me for the forthcoming OpenInsight 10 release and this years event looks to put even more detail into our hands.  In doing so, Revelation are clearly using this major event to empower OpenInsight developers with regards to the new version and help them to become more prepared for the new release and ready for the wealth of change and good things buried on the 1,000,000 plus lines of code that has changed and the numerous new features for both developers and users.

The graphic above uses the word ‘Faster’ and is one of several that I could have borrowed from the new site.  I chose faster because it is something that all of my customers are asking for and I believe that the new version will be faster – both with regards to development and the running of deployed systems.

Want to know more – checkout the Conference website and get your place booked ASAP.

I look forward to seeing you in Florida in April.

BTW – The conference website also includes a downloadable conference brochure and the Early Bird registration is available until February 29, 2016.

Delving Deep into the OI BRW


BRW

I have been a long term fan of the new OpenInsight Banded Report Writer and those goes back to it’s introduction early in the OI 9.x series of releases.  So much so, I decided to take the stand at one of our RUGs and attempt to show our attendees what the new tool set was all about and what it is capable of.

It is a very powerful tool with a familiar design interface that most developers and power users should be happy with following a quick run through the BRW Reference Guide and working through the first few pages of the guide which builds your first report.

However, Don at SRP is in the process of taking the BRW and delving deep into the tool and he aims to reveal how developers can better understand the tool, its configuration and how to get the most from this powerful addition to the suite of OI tools.

His first article has just appeared on the SRP blog and its looks at Unpacking CFG_OIBRW, or more specifically the options for configuring the OI BRW for use and the advantages and disadvantages of each of the options.  There is also a link to the Wiki that he has set up and in which he plans to continue to delve deeper into the tool over the coming weeks.

If you are working with OI 9.x, planning a move to OI 9.x or want to get more from your reporting within OpenInsight, then this series looks set to be a must read.

RUG and OI10 Training – Why


As many of you will know, I was in two minds whether to host the recent OpenInsight (OI) 10 Product Awareness Training.  Furthermore, I heard a number of comments about the validity of hosting the event based on OI10 not being ready for a few more months.

However, given what I learned at the last RevUS Conference and the amount of change that is coming, I decided to blindly carry on with my plans.  The new version can be used to make developers more productive, help new developers to become comfortable with the new version more quickly and the benefits to end users on screen and under the hood.  This was way too much to leave for people to work through when the release hits our desks and I wanted to give developers the opportunity to get a good head start.

The three day event was therefore scheduled to host the normal Revelation User Group (RUG) in the morning and then we would get into the OI10 release in more detail over the next two and a half days.

Mike and Carl did an amazing job as usual and despite working with live and moving code for the demonstrations, the event went very well and the feedback has been very welcome.

To sum things up, I came into work this morning to find an email from Bill North which made the event all the more worthwhile.  Like many OI developers around the world, Bill has been following the OI10 blog and he thought that he had a fairly good idea of what the new version is all about.  However, as he says:

“Even though I had been following the OI10 blog, I was amazed by the amount of changes and enhancements being introduced in OI 10.  So I am looking forward to getting my hands on OI 10 too!”

I guess that you can say that the event was very worthwhile.  I would like to therefore thank Carl and Mike for taking the time out of their busy schedules, to Prashant  for all of the planning and logistics and for Andrew covering for me on Wednesday evening when everyone went out to dinner.  Also, to everyone that took the time to come to London for the event and to raise their awareness about the biggest OI release – probably ever.

If you have the chance to attend another of these events somewhere in the world or the main US conference in March, I can highly recommend them to you.

RUG and OI Training


OI10whiteI will shortly be writing to everyone that have, thus far, registered for the RUG and the OI10 Product Awareness Training with the venue details.  The interest in the OI10 training has been much better than I had expected and we are finalising details for a larger venue.

We now only have a handful of places left for the training, so please email me as soon as possible if you would like to grab one of the last remaining places.  Remember, this is a one off offer to get a head start on what OI10 has to offer and to better prepare yourself for the move to this new major release.

One or two people have asked me about future dates for the training.  We are taking advantage of having Mike over from the US for the week and Sprezzatura are releasing Carl for the training as well.  Any future dates will therefore form the usual one day RUG session with a quick overview of OpenInsight at that point and future direction.  For this reason, if you are unable to make this training session and you wish to take advantage of getting a head start with regards to OI10, I would advise you to watch out for details of the main Revelation Conference that is held in the USA.  That will be your next opportunity to bring yourself right up to speed on the toolset from the developers themselves.

Date for your Diary – 29th September 2015


OpenInsight 10 Login Screen

I am pleased to announce that Mike Ruane will be over from the USA for the week commencing 28th September 2015 and this will be a very special week for anyone working with OpenInsight in the EMEA region.

The week is still in the planning stage at the moment and I will be writing to my OpenInsight developers in the region shortly with more details.  However, we plan to hold our usual RUG meeting on the Tuesday morning (29th September 2015) and this will be followed by a very special OpenInsight 10 training session over the next couple of days (afternoon of the 29th and then all day on the 30th September and 1st October).

There was a mountain of information provided at the recent Revelation World Conference in Texas and I hope to share just a small overview of this information during the training sessions on offer.

The plan is therefore to hold the usual RUG meeting during the Tuesday morning, running up to lunchtime.  This will be a free to attend session and it will provide everyone with an opportunity to hear about how Revelation are doing, plans for the future, etc.  I also hope that Mike will provide us with a very brief overview of the OpenInsight 10 release.

Everyone will be welcome to have lunch with us at the conference centre and then we will change from the usual RUG schedule to begin a more in depth look at OpenInsight 10.  This afternoon session and the next two days (Wednesday and Thursday) will be given over to getting deeper into the forthcoming OpenInsight 10 release.  Both Mike and Carl will be on hand to take you through the massive changes to the API, the Presentation Layer and the Universal Driver, as well as Performance Enhancements, new System Admin Tools, etc. etc.  In addition, Mike will discuss the options for the conversion process and how you can have your data tables optimised as part of the process – getting to OpenInsight 10 is not a simple one click upgrade!!!

There will be a charge for the two and half day training session, but based on what I learned at the conference earlier this year, it will be well worth the expense and time.  If you are a professional OpenInsight developer, a professional MultiValue developer or you head up an OI or MV based development team, this is a three day event that you cannot afford to miss.

Granted, you could dive into the beta software or the full release when it is available, but the changes are wide and varied.  For example, Carl alone spoke for over four hours at the conference, covering the Form Designer and Presentation Layer changes.  Mike took the best part of three hours to run through the OpenInsight 10 overview and the conversion process and there were over 20 hours of facts, features, statistics, enhancements and more.

I therefore highly recommend that you consider this training session to make sure that you and your business is best prepared for the new version and that you can get the most from it for yourself, your business and more importantly your clients.

This is the most significant release since Revelation took OpenInsight into the 32-bit world.  Use this one time opportunity to get ahead of the game and be better prepared for this ground breaking OpenInsight release.

To register your interest in either the RUG or the training session (or both), please email mp@revsoft.co.uk.  I am expecting the RUG  places to fill very quickly, so please don’t delay.

All good things must come to an end.


No image from today I am afraid because I’m packed and waiting for the shuttle to begin my journey back home.  Yes, the conference has drawn to a close after two and a half days of fabulous content and socialising with some of the best people in the business.

I’d like to say that today was a slow start and easy going, but I’d be lieing.  The sharing of knowledge during the sessions remained high during the two technical sessions today.  I sat in on Bryan’s talk about the secrets of the Universal Driver during which he turned on the artist in himself and the session was both enlightening and full of drama, it was just a good job that Dee was on hand and those of you who were there will know what that means.

The UD5 looks to be taking a large step forward and it will certainly offer another good reason for users to seriously consider a move to OI 10 sooner, rather than later.

The second of the two sessions that I sat in on was Bob’s presentation on the use of HTML in OpenInsight controls.  Again,  another presentation full of useful information, code and examples.  Much of the technical side went over my head, but it was good to see how HTML can be used to create rich and dynamic OI forms, especially where formatted text is needed.

This then left Mike and his closing address.  Mike thanked everyone loft attending and thanks were also extended to his team.  I can’t say how things were going behind the scenes, but if there were any hurdles to overcome, they were not noticed on my side of the conference.  As usual,Nancy and the guys ran the show to perfection and the speakers presented their content with clarity and a level of professionalism that has become a staple of the Revelation Conferences.

I had been taking photographs throughout the conference and I took the liberty of putting together a photo slide show.  At nine minutes, it was longer than I had anticipated and three times what Bob and I had spoken about.  However, it flowed and generated som laughs and (I hope) it summed up a wonderful conference.

Anyway, it’s all over now till next time and I’ll be heading to the airport shortly.  Thank you to everyone that joined us in Houston, safe journey home and I look forward to catching up with you all in the not too distance future.

As a closing remark, I would urge all OpenInsight developers to seriously consider attending the next Revelation Conference, wherever and whenever that will be.  There will no doubt be more OI10 knowledge on offer and this release early is looking like being a game changer for every OpenInight developer and our end user base – there really is a lot for everyone and far too much to be missed by those who are unable to makes he conference.  The knowledge on offer means this event really ought to feature in every developer’s training budget, well that I my opinion anyway.