Jump to content

chrisjohn82

Members
  • Posts

    56
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by chrisjohn82

  1. 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 

  2. 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? 

  3. 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

  4. 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 
  5. 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
  6. 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 

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

  8. 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.   

  9. 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 

    post-3010-0-16976300-1454448310_thumb.png

  10. 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

     

  11. 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 

  12. 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

    post-3010-0-11262800-1446747391_thumb.png

    post-3010-0-75414700-1446747398_thumb.png

  13. 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

    post-3010-0-53901300-1433360478_thumb.png

×
×
  • Create New...