Jump to content

chrisjohn82

Members
  • Posts

    56
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by chrisjohn82

  1. I'm using version 0.99.95.1301 and it's in runtime still showing maxYear = 2016.
  2. Hi everybody, I'm trying to change the range for the Year in the mobile datetimepicker but i can't get it to work, i tried to change the minYear and maxYear property but the maxYear is always 2016? Best Regards Christian
  3. I solved the language, just had to set the locale in servermodule to swedish but still can't change the Year range
  4. Hi everybody, I have created a mobile application with a lot of controls and when scrolling down and up using an android system the application stops/quits as soon as it starts refreshing and that will happen as soon as i scroll, but on the iphone it works good, anybody having the same issues ? Best Regards Christian
  5. Works great, thank you, I also have two follow up question about the datetime picker. 1) Is it possible to change the language so the months can show in for example swedish instead of english. 2) I'm also trying to change the range for the year, i saw that there is a minYear and maxYear property but if i change minYear = 2015 and maxYear= 2050 i still get 2016 as the maxYear?
  6. Hi everybody, Is it possible to change the the format on the MOBILE datepicker to example "2016 June 20" when accessing the control in runtime, can't see anywhere to change this except for the displaying the date in the control. Right now it's showing "June 23 2016". Best Regards Christian
  7. Hi everybody, Is there any way to change the title on the show message dialogs for mobile applications, like there is for the unigui webapps. In the unigui webapps i can use the following code below but i get an Ajax error > 'can't find variable' when i try this code in the mobile application ShowMessage('MESSSAGE!'); UniSession.AddJS('$("span#messagebox-1001_header_hd-textEl").html(' + '"THIS IS A CUSTOM MESSAGE");'); Best Regards Christian
  8. Its looks like the hybrid example is the best solution for me, thanks for the info.
  9. Hi, I tried the code, i have the following code in my project and i get an error message when i try it from my iphone > Undefined is not an object (evaluating 'new Ext.field.Text') is there something i'm missing ? procedure TMainForm.UniFormCreate(Sender: TObject); begin uPlat := UniApplication.UniPlatform; if (upDesktop in uPlat) then begin form1.Show(); // ​This is the desktop login form end else if (upMobile in uPlat) then begin form5.Show(); // This is the mobile login form end; end; Best Regards Christian
  10. Hi, I'm trying to figure out how to use uniplatform. I want to know the platform the user i logging in from, web or mobile and then based on the platform i want to load the right login screen. I saw that somebody posted a thread about this but and i tried to use the code but did not get it to work. Best Regards Christian
  11. Thank you, this will definitely same a lot of time.
  12. Thank you, Bugra Yener Sahinoglu. This was very useful and will help me a lot, is there any way to apply this code to all TuniEdit components that are in the project or do i have do to it on every TuniEdit component? Best Regards Christian
  13. Hello everybody, I wonder if it's possible to change the font color and background color of TuniEdit, when you hover over the component with the mouse, i figured out how to do it on a button but not with the TuniEdit. There should be some way to do it in clientEvents? All suggestions are more than welcome. Best Regards Christian
  14. Hi everybody! I figured out that it doesn't matter that the events are showing over multiple month but i have a problem with setting the AViewStartDate and AViewEndDate programmatically, is there a way to to this or does these variables only change when the onchange event is triggered? I would like to choose a date from ex a tunicalendar and set the AViewStart and the AViewEnd date to the date i choose from the tunicalendar.
  15. Hi everybody, Is there a way to set the AViewStartDate and AViewEndDate to only start from beginning of month to the end of the month. I want to bring the events from the database for the current month but it seems that its going over multiple months when i trigger the OnChangeDate event to show ex january the AviewStartDate = 2015-12-28 and the AviewEndDate = 2016-02-06 but i want it to go from 2016-01-01 to 2016-01-31 etc. Is there a way to make it only show the current month? I attached a screen shot of the calendar panel. Best Regards Christian
  16. I just found out that i can use a DataModule form to put all my db components and then access them from there without losing the datasource. Thanks for the information Farshad.
  17. Hi, I have an annoying problem, I'm using postgres DB components in unigui and i have one connection component on the mainform and everytime a open a different form that have postgres query component i lose the connection so i have to go to the connection properties for every query component and choose the connection again, would be very thankful for a solution to this issue. Best Regards Christian
  18. Hi everyone! I have two things i would like to do but don't know if it's possible with unigui, the first thing is to 1) Open a word document on a client computer 2) Perform a mailmerge on that word document Best Regards
  19. Never mind my post, it works. Have to run the application to see the changes.
  20. I've tried this and i have the latest build of unigui but when i add a new page it still goes to the TOP, is there something else that i need to do?? Best Regards
  21. Hi everyone, Im trying to display a form(form4) inside another form(form3) that has a panel and that panel would act as a layoutbase for form4 but im not getting it to work. I tried to first show the form ex form4.show and that works but then when i do form4.SetParent(form3.layoutbase); i keep getting access violation error. THIS should happen onCreate for form3, i have attached to screen shots to easier understand want im trying to do. Best Regards Christian Johnson
  22. Hi! I am wondering if there is a way to remove the border from the main form, i tried to set the borderstyle to bsNone but can still see a border(window)? Is there a way to make the application windowless or look like it is? Best Regards Chrisjohn82
×
×
  • Create New...