:: Архив конференции по VFP до 2005 года
Почему на значках не отображается белый цвет
Леха
Автор
1. Какие только ухищрения не пробовал, никак не могу отобразить на картинке значка кнопки белый цвет. Пробовал и bmp и ico - никак.
Подскажите плиз, в чем дело?

2. Где можно найти бооольшую коллекцию картинок 24 на 24 пиксела для
кнопок. В инете искал, что-то находятся только иконы или большие каринки.
Пробовал иконы конвертить, не красиво получается.

Алексей
Ratings: 0 negative/0 positive
see Help Chapter 10:Using controls
Игорь Ильин
Цитата оттуда:

When Visual FoxPro loads a .bmp file specified by the Picture property for a command button, option button, or check box, it looks in the same directory for a matching .msk file. If an .msk file with the same name as the .bmp is in the directory, Visual FoxPro uses it as a mask for the picture. All white areas in the .msk picture are made transparent in the .bmp. All black areas in the .msk picture are displayed exactly as they are in the .bmp.

Note The .bmp picture and the .msk picture must have the same dimensions for the mask to be able to represent the area of the .bmp.

Сам не разберешься - пиши на мейл
Ratings: 0 negative/0 positive
RE: see Help Chapter 10:Using controls
Леха
Автор
Огромное спасибо!
Все понял.
Ratings: 0 negative/0 positive


Извините, но у вас нет прав для того, чтобы оставлять сообщения в этом форуме.

On-line: 2 (Гостей: 2)

© 2000-2024 Fox Club 
Яндекс.Метрика