Jump to content

_ArrayDisplay(ListView)


 Share

Recommended Posts

in using the "_ArrayDisplay" function

I can't see the "|" symbol. However when I copy

the ListView table it shows up in the copied text.

Is there a configuration setting I'm missing.

Thanks

;Test code: Can't see '|' symbol

$X = 'a | | | | | | | | | | | | | | | | | | | | z'

ConsoleWrite($X & @CRLF)

$ary2 = StringSplit($X,' ')

_ArrayDisplay($ary2)

Exit

Edited by atwolf359

I've been on the net so long, I remember when I could only e-mail myself!

Link to comment
Share on other sites

ya that's kinda obvious..

See array display, displays info in columns.. n when u copy it.. a seperator character in form of "|" is put in between the different elements of the array..

U can't really do anything about this..

[font="Garamond"]Manjish Naik[/font]Engineer, Global Services - QPSHoneywell Automation India LimitedE-mail - Manjish.Naik@honeywell.com
Link to comment
Share on other sites

You can do simething.

By default, | is the data separator for ListViews. To chenge this in _Arraydisplay, you have to give the last two params:

_ArrayDisplay($ary2,"Test",-1,0,Chr(6),Chr(6))

this means: set Separator-Char to Chr(6) and remove Chr(6) in data.

Edited by ProgAndy

*GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

Link to comment
Share on other sites

The last parameter for _ArrayDisplay() is $sReplace which defaults to "|"

Supply something else and it will display.

in using the "_ArrayDisplay" function

I can't see the "|" symbol. However when I copy

the ListView table it shows up in the copied text.

Is there a configuration setting I'm missing.

Thanks

;Test code: Can't see '|' symbol

$X = 'a | | | | | | | | | | | | | | | | | | | | z'

ConsoleWrite($X & @CRLF)

$ary2 = StringSplit($X,' ')

_ArrayDisplay($ary2)

Exit

Link to comment
Share on other sites

oh.. sorry.. wasn't aware of it..

thanks for the info.. n i apologize that i provided wrong info with confidence..:)

[font="Garamond"]Manjish Naik[/font]Engineer, Global Services - QPSHoneywell Automation India LimitedE-mail - Manjish.Naik@honeywell.com
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...