Παρασκευή, 13 Νοεμβρίου 2020

Revision 8, Version 10

 A bug in XMLdata fixed. Additions for Listbox, Editobox, Combo (also with combo we make menu, so this is for menu two). 

1. All lists (including EditBox) now display the part of line if exist in the bottom:



2. We can change color for vertical scroll bar:

      Method Pad, "SetBarStyle", color(50, 100, 200), 5, 15

15 is for white (0 to 15 are the standard colors, color() return a negative number for RGB)

5 is for the hatch type, and white is the hatch color. 


The cs example change colors for editbox, here are the dark colors. So here we have another statement:
        Method Pad, "SetBarStyle", #DD9033, -1
The -1 remove the hatch, so all parts of the bar has one color. The bar is normally hidden and open if we move the mouse pointer over it, or if we use the keyboard page up and page down, or  if we push a line up or down holding the left mouse button down, or if we handle the mouse wheel (is same as page up/page down). In editor page up/down done at half actual page.size). All controls are made from one control. So the title of form, the combo box and the edit box have the same type control, but the have different objects which inherits the base class, the one control.


I am thinking now for adding some controls (that belongs to environment). From the language part, some day I would make an Ast Interpreter. Also I have to make some books, for kids.

For this version (10) I have to put 3D hardware accelerated graphics, using DirectX 11. I am looking for a solution, with a nice interface, so kids may use them without hard maths. There is something interesting here: 

https://www.vbforums.com/showthread.php?889232-VB6-DirectX-11-for-VB6-1-0-Type-Library

Δεν υπάρχουν σχόλια:

Δημοσίευση σχολίου