Jump to content


Photo

ScrollRange problem

ScrollRange

  • Please log in to reply
5 replies to this topic

#1 Israel Portillo

Israel Portillo

    Member

  • uniGUI Subscriber
  • PipPip
  • 18 posts

Posted 12 August 2016 - 11:19 PM

Hi community

 

I have a unresolved problem with mobile version.

 

I seems ScrollRange does not work correctly with a scrollable form at the initial show, but if I swap or flip my mobile then all works correctly.

 

There was an resolved issue but not for me.

 

Temporally I will put online so you can see the problem

 

Is the second form. At beggining you will see only one and half pictures but if you slip your mobile and return to original position you will see all the scrollrange working correctly showing 3 pics....

 

I am in a little hurry to resolve this...

 

I Attach source of the demo...

 

 

Thanks for your assistence..

Attached Files

  • Attached File  Bug.rar   6.39MB   7 downloads

  • 0

#2 Israel Portillo

Israel Portillo

    Member

  • uniGUI Subscriber
  • PipPip
  • 18 posts

Posted 12 August 2016 - 11:37 PM

The problem here is the number of pics is variable by a database, could be 1 or 100 images, Then I can not to leave a fix inital size..

 

In the source you will see all the commented process of a query.....


  • 0

#3 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 3023 posts

Posted 14 August 2016 - 12:07 PM

Hi,

 

For now can you try this, using OnCreate event ?!:

procedure TCatalogosForm.UnimFormCreate(Sender: TObject);
begin
  ScrollRange := 150;  // set initial range
  self.cargaDatos;     // <----------
end;

Best regards.


  • 0

#4 Israel Portillo

Israel Portillo

    Member

  • uniGUI Subscriber
  • PipPip
  • 18 posts

Posted 15 August 2016 - 02:49 AM

There will be 4 levels of forms and it seems the only solution is to generate and destroy every level and resolve my problem at creating and not showing the form...

 

I need to figurate it in this way because when I will be in third level I will need to return previous level in the exact point. The same when I will be in fourth level.


  • 0

#5 s6763

s6763

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 16 August 2016 - 03:43 AM

i have no right to write new topic, so i write here.

i was testing unigui trial verion, specially unigui mobile

 

 

On Android,

When I tap a textfield at the bottom of the screen, 

the soft keyboard appears and hides the active element. 


see below url,
http://prog3.com/sbd...etails/49679331

 

how we can adapt on my UniGui.
if you have solution, please let me know.

 


  • 1

#6 Ken_Sowyer

Ken_Sowyer

    Newbie

  • Members
  • Pip
  • 8 posts
  • LocationBrazil

Posted 27 June 2017 - 01:43 PM

 

i have no right to write new topic, so i write here.

i was testing unigui trial verion, specially unigui mobile

 

 

On Android,

When I tap a textfield at the bottom of the screen, 

the soft keyboard appears and hides the active element. 


see below url,
http://prog3.com/sbd...etails/49679331

 

how we can adapt on my UniGui.
if you have solution, please let me know.

 

 

 

Same problem here, still trying the trial...

On iOS Safari and some Android web browsers (like UC Browser) works fine, but in Chrome or Firefox on Android, when focus on a TUnimEdit element, keyboard appears covering that element, until some input on the keyboard.

Any example on how to implement the solution with the link provided?

 

Thanks on advance!


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users