[VB6] Highlight Selection BackgroundColor

Pagina: 1
Acties:

  • glashio
  • Registratie: Oktober 2001
  • Laatst online: 25-05 07:46

glashio

C64 > AMIGA > PC

Topicstarter
Zucht... na lang zoeken op Google en eindeloze VBsite's.... kan ik het niet vinden :'(

Dus kortom : HELP :o

Ik wil in een 'textbox/richtextbox-control' een stuk text 'Highlighten' d.m.v. de achtergrond-kleur.
(dus niet 'RichTextBox1.selColor 8-), was het maar zo simpel 'RichTextBox1.selBackcolor' |:()
Bijv. 'Hyperterminal' gebruikt z'n textbox om ANSI-BBS'n gekleurd te laten zien.

VOORBEELD :*:
Afbeeldingslocatie: http://home.wanadoo.nl/glashio/got/got.gif

> Google Certified Searcher
> Make users so committed to Google that it would be painful to leave
> C64 Gospel
> [SjoQ] = SjoQing


  • whoami
  • Registratie: December 2000
  • Laatst online: 25-05 23:56
Wat heb je al allemaal geprobeerd?

Kijk even in de MSDN naar functies als:
SelStart, SelLength, Sel[etc]...

https://fgheysels.github.io/


  • glashio
  • Registratie: Oktober 2001
  • Laatst online: 25-05 07:46

glashio

C64 > AMIGA > PC

Topicstarter
SelStart, SelLength, Sel[etc]...
Ben ik al geweest :'( Al HEEL wat testjes achter de rug, niks werkt ;(

> Google Certified Searcher
> Make users so committed to Google that it would be painful to leave
> C64 Gospel
> [SjoQ] = SjoQing


  • robjanssen
  • Registratie: September 2001
  • Laatst online: 17-11-2025

robjanssen

Software Developer

Kun je niet gewoon verschillende labels gebruiken?

  • glashio
  • Registratie: Oktober 2001
  • Laatst online: 25-05 07:46

glashio

C64 > AMIGA > PC

Topicstarter
Kun je niet gewoon verschillende labels gebruiken?
Ik ben bezig met een Telnet-client, en weet dus niet van te voren wanneer/waar deze 'HIGHLIGHT' teksten komen. Ik wil een terminalscherm maken van 80x24. En om nou 1920 Textbox/Label objecten aan te maken vindt ik persoonlijk een beetje 'OVERKILL' >:) . En het zal supertrage refresh hebbuh met zoveel objecten.

> Google Certified Searcher
> Make users so committed to Google that it would be painful to leave
> C64 Gospel
> [SjoQ] = SjoQing


  • Crazy D
  • Registratie: Augustus 2000
  • Laatst online: 24-05 14:12

Crazy D

I think we should take a look.

In de worst case kun je nog in de rtf-code duiken en kijken of het in rtf mogelijk is een stukje van de richtext een andere achtergrondkleur te geven. Ik kan (ook) niks vinden om een stukje tekst een andere achtergrondkleur te geven, het is alles of niets....

Exact expert nodig?


  • glashio
  • Registratie: Oktober 2001
  • Laatst online: 25-05 07:46

glashio

C64 > AMIGA > PC

Topicstarter
Precies... alles of niets |:( Maaruh RTF-ondersteund het ook niet... heb al een RTF-editor gedownload, en deze bied ook deze optie niet.

> Google Certified Searcher
> Make users so committed to Google that it would be painful to leave
> C64 Gospel
> [SjoQ] = SjoQing


Verwijderd

Het kan wel sinds RichEdit 2.0 (RichEd20.DLL)
Het VB Control is op RichEdit 1.0 gebaseerd (RichEd32.DLL)

Op http://www.vbaccelerator.com/codelib/richedit/richedit.htm kun je een control vinden dat RichEdit 1.0/2.0/3.0 kan :)

  • glashio
  • Registratie: Oktober 2001
  • Laatst online: 25-05 07:46

glashio

C64 > AMIGA > PC

Topicstarter
DANK JE WEL!!!! YOU ARE GR8 >:) >:) >:) >:) >:) >:) >:) >:) >:)

> Google Certified Searcher
> Make users so committed to Google that it would be painful to leave
> C64 Gospel
> [SjoQ] = SjoQing

Pagina: 1