date control in proiv clienti version 220.127.116.11-PR
Posted 01 July 2008 - 04:48 AM
Let me know what you think.
Posted 17 July 2008 - 11:41 AM
I do have one question. The year selector has what microsoft refers to as an "UpDown control". It is part of the mscomct2.ocx that the Monthview control is in, but I have not been able to make it work inside PROIV. Microsoft help says that the UpDown control must be in place to be able to use the year selector.
Posted 17 July 2008 - 11:43 PM
Apologies if you already know some of this.
A great way to find graphics is to use Google. Launch Google and in the top left of the screen select the option for images. In the search enter 'Calendar' and it will return loads of images to do with dates. A lot of these images are too big as the image I sent you in 14x14 pixels. If you want to see the size of an image hover over it in Windows Explorer and it will show you the size. I found if you enter 'Calendar 14x14' it will return some images of that size. Simply right click the image and select save.
You will find loads of images that you can use as they are but I often find I need to touch them up a bit. I would suggest if you can that you look to learn Photoshop (I did a night class in it). It is magic for doing graphics and has a great feature called 'Free Transform' that lets you drag an image to the size you want and it does a great job at redrawing it. Often you will find an image on Google you want but it is too big. Photoshop can be expensive so another option is Paint Shop Pro which is a lot cheaper. I have used both and Photoshop was the one for me just because of the way it handles Layers (again another great thing to learn). This was a couple of years ago now so Paint Shop Pro may have improved. Also, do some searches on the web for Photoshop tutorials as there are millions. Your PROIV buttons will never be the same again!!
The date.jpg I attached before I use in applications that are predominately blue. What I then found was the grey combobox graphic looked rubbish so I created two new graphics for them which I have attached. I have also attached a screen shot that shows one of them being used on a combobox. The graphics for this screen were done using Photoshop. Notice how the screens are see through. This is done using layers in Photoshop.
Just in case anybody is interested the screen shot is showing the new Client Management feature of V6.1. The screenshot is actually 3 PROIV clients running beside each other. This new feature allows the clients to communicate with each other so when an employee is selected in the tree on the left the other two screens are refreshed with their details.
Hope it helps.
Posted 18 July 2008 - 12:07 AM
I have not tried to use the control but if I was doing this I would do it in PROIV by simply specifying two icons beside the field and setting one graphic to the up arrow and the other to the down. The event on each image can then be used to adjust the number and refresh the field using tagname.refresh(). This also means you don't have to have the naff grey buttons. Try doing a Google image search as shown above and enter 'Updown Control' and there are lots of better examples.
I forgot to mention above. When you do a search for images on Google by default it shows large images. Use the dropdown at the top of the screen to select 'Small Images'. (notice the graphic on the dropdown is a nice blue one!!)
Apologies if I have misunderstood your question.
Posted 17 April 2009 - 07:56 PM
I followed the instructions in your PDF to create an ActiveX calendar window for Microsoft MonthView Control 6.0. It works great except the property logic in logic 2 (Cycle in logic) is ignored. I wanted to set the MonthColumns property to a value of 2. When I set it as a value in the ActiveX Control Properties list it does show 2 months. However, when I click on a day I get this run-time error. I don't get the error if it is set to 1 or the default blank. Any ideas on what is causing this?
Posted 19 April 2009 - 07:59 AM
My window with two columns works fine so I am not sure why you get the runtime. I can select dates from either month and they are returned.
I have exported the 2 column window from the PROIV V6 training course so you can try it.
You will notice in the function I change the background colour of the control. The reason I mentioned this is I noticed your other post about setting colours. I will reply on that post how it works.
Let me know how you get on.
Posted 19 April 2009 - 10:55 PM
That's better! In my window I didn't have "Check Control" checked on or anything in Control Appearance settings. After changing my window to match yours it now works. Unfortunately the 6.2 manual doesn't go into much detail on the purpose of these settings.
Thanks for taking the time to help with this.
Posted 27 September 2010 - 02:06 PM
Reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users