| To: | REALbasic NUG Italian <realbasic-nug dot it at lists dot realsoftware dot com> |
|---|---|
| Subject: | Re: Listbox e Immagini |
| From: | Giovanni Gualeni <ggualeni at tiscali dot it> |
| Date: | Tue, 4 Dec 2007 11:10:06 +0100 |
| Delivered-to: | listarchive at realsoftware dot com |
| Delivered-to: | realbasic-nug dot it at lists dot realsoftware dot com |
| References: | <97E7D70B-AC8E-44AD-B7DC-1964FBC177F0 at tiscali dot it> <FDCF3DF0-3A3C-42AD-B7DA-EED9FD7B6D13 at cantoberon dot it> <C3D33FC9-6445-417F-8A74-4B56ED236F6A at tiscali dot it> <9A111BBA-A798-434E-A7A9-A5A55F0D4E66 at cantoberon dot it> |
Il giorno 03/dic/07, alle ore 18:54, Giulio Mastrosanti ha scritto: ad esempio puoi avere un array di immagini con l'ndice che coincide con quello delle righe di cella. e usare quello per impostare l'immagine,oppure l'immagine potresti inserirla nel celltag della cella stessa ( che e' un variant e quindi accetta anche oggetti ), e poi usare quello per ridisegnare l'immagine nella cella, quindi quando aggiungi la riga fai:lista.addrow " " lista.celltag( lista.lastindex,0) = immagine e quindi poi nell'evento CellBackgroundPaint fai qualcosa tipo:Graphics.DrawPicture me.celltag(row,column), X, Y, [DestWidth], [DestHeight], [SourceX], [SourceY], [SourceWidth], [SourceHeight]spero ora sia piu' chiaro Mi si e' accesa la luce. Grazie ora funziona. Resta da capire il motivo del comportamento anomalo di RowPicture. Cmq grazie per l'aiuto. Giovanni |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Comportamento normale, bizzarro o bug delle computed property?, Massimo Valle |
|---|---|
| Next by Date: | Re: Comportamento normale, bizzarro o bug delle computed property?, Gilberto De Faveri |
| Previous by Thread: | Re: Listbox e Immagini, Giulio Mastrosanti |
| Next by Thread: | Re: Listbox e Immagini, Massimo Valle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |