Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Foreign Languages > German Forum
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Textausrichtung in einer Tabelle

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-06-2008, 05:34 PM
Basic4ppc Veteran
 
Join Date: Jul 2008
Location: Schwäbisch Gmünd
Posts: 353
Post Textausrichtung in einer Tabelle

Hallo Forum,

wie ich bereits weiß, kann man mit der "FormLib" in einer TextBox (multiline) den Text ausrichten.

Geht das auch in Tabellen?

Beispiel: Ich habe eine Tabelle, in der ich quasi wie in Excel die erste Spalte rechtsbündig, die zweite Spalte zentriert und die dritte Spalte ebenfalls rechtsbündig ausrichten will.

Ich habe mit "FormLib" schon experimentiert, leider ohne Ergebnis.

Im Voraus besten Dank!
__________________
JOTHA | Greetz from the Schwabenländle.
Pocket-PC: HTC HD2 (Dual-Boot WindowsMobile 6.51 + Android 2.2 Froyo)
Reply With Quote
  #2 (permalink)  
Old 11-06-2008, 06:04 PM
Filippo's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Schwäb. Gmünd, Germany
Posts: 977
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Hallo JOTHA,

ich empfehle dir die Library Listview.dll zu verwenden anstatt die Tabelle.
http://www.basic4ppc.com/forum/addit...interface.html

Hier ist es möglich jeder Spalte mit unterschiedliche Ausrichtungen zu erstellen.
In dem Link sind auch einige Beispiele vorhanden, solltest du aber noch mehr Hilfe dafür brauchen, so sage mir bescheid.

Ciao,
Filippo
__________________
PPC: MDA Pro, 2GB SD
Device: HTC Desire , Android 2.2
______________________
Reply With Quote
  #3 (permalink)  
Old 11-06-2008, 07:29 PM
Basic4ppc Veteran
 
Join Date: Jul 2008
Location: Schwäbisch Gmünd
Posts: 353
Default

Hallo Filippo,

ich habe dein Programm ausprobiert.

Quote:
Originally Posted by Filippo View Post
... ich empfehle dir die Library Listview.dll zu verwenden anstatt die Tabelle.
http://www.basic4ppc.com/forum/addit...interface.html
Da hast Du dir aber eine Menge Arbeit gemacht!

Ich werde mal testen, wie ich damit klarkomme ...

Vielen Dank für deine Hilfe!

P.S.: Kennt jemand eine Lösung für "normale" Tabellen? (Nur aus Interesse)
__________________
JOTHA | Greetz from the Schwabenländle.
Pocket-PC: HTC HD2 (Dual-Boot WindowsMobile 6.51 + Android 2.2 Froyo)

Last edited by JOTHA : 11-06-2008 at 07:44 PM.
Reply With Quote
  #4 (permalink)  
Old 11-06-2008, 08:36 PM
specci48's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Germany
Posts: 1,057
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

Quote:
Originally Posted by JOTHA View Post
P.S.: Kennt jemand eine Lösung für "normale" Tabellen? (Nur aus Interesse)
In den "normalen" Tabellen besteht leider keine Möglichkeit zur Textausrichtung in den einzelnen Zellen.
Eventuell kann die Door.dll noch mit einer Lösung aufwarten, sicher bin ich mir da aber nicht.


Gruß
specci48
Reply With Quote
  #5 (permalink)  
Old 11-08-2008, 03:51 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 4,463
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

Ich befürchte dass es nicht geht.
Ich habe ein bisschen in der MS Dokumentation rum geschaut, aber leider keinen TextAlign oder Alignment Parametur für das DataGrid (Table) Objekt gefunden das man mit der Door Library ändern könnte.

Grüsse.
__________________
Klaus
Switzerland

Beginner's Guide / User's Guide
Reply With Quote
  #6 (permalink)  
Old 11-09-2008, 08:24 AM
Basic4ppc Veteran
 
Join Date: Jul 2008
Location: Schwäbisch Gmünd
Posts: 353
Default

Hallo Klaus,
Quote:
Originally Posted by klaus View Post
Ich befürchte dass es nicht geht.
DANKE für deine Bemühung.

Im Moment ist das mit der Ausrichtung auch nicht so wichtig, es hat nur kosmetische Aspekte.

Filippo hat mir ja schon mit seiner Library den richtigen Tip gegeben, doch da muß ich mich noch ein bischen einarbeiten. Das werde ich auch später noch einbauen, im Moment muß ich aber noch andere Problemchen an dem Programm bearbeiten.

Danke nochmals.
__________________
JOTHA | Greetz from the Schwabenländle.
Pocket-PC: HTC HD2 (Dual-Boot WindowsMobile 6.51 + Android 2.2 Froyo)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tabelle als Datenpool Bobbes German Forum 14 05-29-2008 05:43 PM
max. Anzahl der Zeichen einer textbox.... Bobbes German Forum 3 03-01-2008 03:24 PM
Simulieren einer seriellen Schnittstelle... schimanski German Forum 0 12-09-2007 05:33 PM
Sortierung der Daten in einer ComboBox Fontanus German Forum 6 09-14-2007 03:54 PM
Problem mit großer Tabelle Christian72D German Forum 8 05-31-2007 07:14 AM


All times are GMT. The time now is 07:33 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0