Ho bisogno di ridimensionare un panel attraverso le gestures, perciò non un ritaglio o solo effetto zoom ma un ridimensionamento verticale o orizzontale. Mi spiego meglio, vorrei oltre che al semplice zoom dall'angolo con libreria PichZoomandMove (in cui aumenta o diminuisce in maniera proporzionale altezza e larghezza) vorrei ridimensionare anche solo altezza o solo larghezza. Ho cercato un po ma oltre al semplice Drag o effetto Zoom non ho trovato nulla.
Aiuti please
I'm happy to announce the publication of my new B4XView library. This library adds to the XUi Views the native views of the three platforms (Android / IOS / Desktop) so that they can be managed by Design, using them as XUI views without having to change its type in the Globals Sub. With this...
I've seen a few questions on the forums about changing the titlebar color. The answer is that you have to replace the title bar. This gives the problem of then losing all of the form controls, resizing minimising, maximising and close buttons. This is a customview, that does all of this...
I'm happy to announce the publication of my new B4XView library. This library adds to the XUi Views the native views of the three platforms (Android / IOS / Desktop) so that they can be managed by Design, using them as XUI views without having to change its type in the Globals Sub. With this...
I've seen a few questions on the forums about changing the titlebar color. The answer is that you have to replace the title bar. This gives the problem of then losing all of the form controls, resizing minimising, maximising and close buttons. This is a customview, that does all of this...
Ciao grazie per l’attenzione e la disponibilità, ma purtroppo non ho notato niente che possa aiutarmi in questi tuoi link. Premetto che sono un principiante perciò non offendo la tua esperienza
Penso che Totò direbbe:
"E come è possibile? Un pezzo di Granatiero così come può essere un principiante?" ?
A naso mi viene da sospettare che tu debba gestire l'evento Touch del panel, rilevando se e quale lato si stia toccando e se la fase sia di selezione del lato (pressione continua per N millisecondi + flag di stato) o di trascinamento.
Tutto da codice e con variabili a livello di modulo.
Ciao grazie per l’attenzione e la disponibilità, ma purtroppo non ho notato niente che possa aiutarmi in questi tuoi link. Premetto che sono un principiante perciò non offendo la tua esperienza
Ti ho allegato un esempio. Devi riscaricare la liberia versione B4A che aveva un bugs.
Per muovere un pannello toccare e trascinare l'angolo in alto a sinistra. Per ridimensionare un pannello toccare e trascinare l'angolo in basso a destra
Nel video non si vede ma una di quelle finestre è ridimensionabile anche soltanto in orizzontale o verticale, a "scelta", sempre tramite trascinamento.
Nel video non si vede ma una di quelle finestre è ridimensionabile anche soltanto in orizzontale o verticale, a "scelta", sempre tramite trascinamento.
Ti ho allegato un esempio. Devi riscaricare la liberia versione B4A che aveva un bugs.
Per muovere un pannello toccare e trascinare l'angolo in alto a sinistra. Per ridimensionare un pannello toccare e trascinare l'angolo in basso a destra
se inserisco la funzione SetBitmap, la libreria mi impone in automatico il Bitmap con Gravity "Center" al Panel anche se da Designer il Gravity è il FILL per esempio. Perciò non ho modo di personalizzare il Gravity del Bitmap. Infatti anche il suggerimento da codice dice che "sarà impostato con gravity CENTER) se uso SetBitmap