Jump to content

berni

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by berni

  1. for completeness, the string for the label was correctly displayed in the $Output box (GUICtrlCreateInput). Checking the styles - there seems no interpretation of the ampersand (&) in an input box.
  2. Hallo, thanks for all the work. I wanted to let everyone know of a problem I had with the display of a 25i barcode in barcode_test.au3. It happened on a specific barcode i needed - the barcode in the label was incorrectly displayed - while printing etc all was OK. Finally I found that my barcode started with a "&" (ampersand). The complete barcode is 05185160121072706 (control character 0 not included). The string for the label is É&3T]-+ig]Ê but the barcode displayed was É3T]-+ig]Ê the ampersand dissapeared. The solution was by defining the stile of the label with $SS_NOPREFIX. The hepltext for Label Styles says: Prevents interpretation of any ampersand (&) characters in the control's text as accelerator prefix characters. I added the style to the label definition and now the barcode was displayed correctly $barcode = GUICtrlCreateLabel("", 10, 39, 580, 130,$SS_NOPREFIX) I hope someone finds this useful
×
×
  • Create New...