I want see always the lastline of an editor
I have found the command on the forum by two ways, but she do the same effect
Code: Select all
OpenWindow(0, 0, 0, 506, 150, "EditorGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
EditorGadget(0, 8, 8, 500, 133)
For a = 0 To 10
AddGadgetItem(0, a, "Line is very too long for can be see in the editor gadget without scrolling the horizontal bar " + Str(a))
;SendMessage_(GadgetID(0), #EM_SETSEL, -1, -1) ; First way
SendMessage_(GadgetID(0), #EM_SCROLLCARET, #False, #False) ; Second way
Delay(1)
Next
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
Have you a way for see both last line and first character of the line
Have a good day